Updated `UpdatePeer` logic
parent
833ee88340
commit
1a667a60c1
|
|
@ -72,7 +72,7 @@ class Peer:
|
|||
peers = []
|
||||
for peer in self.configuration.getPeersList():
|
||||
# Make sure to exclude your own data when updating since its not really relevant
|
||||
if peer.id != self.id:
|
||||
if peer.id == self.id:
|
||||
continue
|
||||
peers.append(peer)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue