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