mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 18:55:32 +00:00
aquatic: remove unnecessary fields from Peer; general clean up
This commit is contained in:
parent
31c8864658
commit
ad68dda9f5
2 changed files with 12 additions and 13 deletions
|
|
@ -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()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue