Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
limit update notifications to bootstrap nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
etam committed Feb 11, 2020
1 parent 8c3c75a commit a351b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions golem/network/p2p/peersession.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,9 @@ def _react_to_hello(self, msg):
logger.error("Received unexpected Hello message, ignoring")
return

# Check if sender is a seed/bootstrap node
# Check if sender is a bootstrap node
port = getattr(msg, 'port', None)
if (self.address, port) in self.p2p_service.seeds:
if (self.address, port) in self.p2p_service.bootstrap_seeds:
compare_version(getattr(msg, 'client_ver', None))

if not self.conn.opened:
Expand Down

0 comments on commit a351b5f

Please sign in to comment.