aquatic: remove unnecessary fields from Peer; general clean up

This commit is contained in:
Joakim Frostegård 2020-04-08 21:40:36 +02:00
parent 31c8864658
commit ad68dda9f5
2 changed files with 12 additions and 13 deletions

View file

@ -259,9 +259,7 @@ mod tests {
peer_id,
};
let value = Peer {
connection_id: ConnectionId(0),
ip_address,
id: peer_id,
port: Port(1),
status: PeerStatus::Leeching,
last_announce: Time(Instant::now()),