diff --git a/aquatic_http_private/src/workers/socket/db.rs b/aquatic_http_private/src/workers/socket/db.rs index c5c72e4..c507789 100644 --- a/aquatic_http_private/src/workers/socket/db.rs +++ b/aquatic_http_private/src/workers/socket/db.rs @@ -31,8 +31,8 @@ impl DbAnnounceRequest { info_hash: hex::encode(request.info_hash.0), peer_id: hex::encode(request.peer_id.0), event: request.event, - uploaded: 0, // FIXME - downloaded: 0, // FIXME + uploaded: request.bytes_uploaded as u64, + downloaded: request.bytes_downloaded as u64, } } }