Closed ashtonmeuser closed 5 years ago
myPeerID.hashValue not guaranteed to be greater than peerID.hashValue. Accept all requests that don't originate from current device.
myPeerID.hashValue
peerID.hashValue
I think the initial logic here was to have a deterministic way to have only one of the two peers accept the connection.
myPeerID.hashValue
not guaranteed to be greater thanpeerID.hashValue
. Accept all requests that don't originate from current device.