mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-23 05:07:51 +01:00
Connection status field
This commit is contained in:
@@ -129,7 +129,7 @@ func packetWorker(packets <-chan networkWire) {
|
||||
continue
|
||||
}
|
||||
|
||||
connection := &Connection{Network: packet.network, Address: packet.sender}
|
||||
connection := &Connection{Network: packet.network, Address: packet.sender, Status: ConnectionActive}
|
||||
|
||||
peer := PeerlistLookup(senderPublicKey)
|
||||
if peer != nil {
|
||||
|
||||
Reference in New Issue
Block a user