Skip to content
Snippets Groups Projects
Commit e7e7390f authored by inso's avatar inso
Browse files

Merge branch 'feature/peer_handling' into feature/icons_in_tabs

parents 6802e1f8 6a2357df
No related branches found
No related tags found
No related merge requests found
...@@ -374,7 +374,7 @@ class Node(QObject): ...@@ -374,7 +374,7 @@ class Node(QObject):
if peering_data['raw'] != self.peer.raw(): if peering_data['raw'] != self.peer.raw():
peer = Peer.from_signed_raw("{0}{1}\n".format(peering_data['raw'], peering_data['signature'])) peer = Peer.from_signed_raw("{0}{1}\n".format(peering_data['raw'], peering_data['signature']))
if peer.blockid.number > self.peer.blockid.number: if BlockId.from_str(peer.blockid).number > BlockId.from_str(self.peer.blockid).number:
self.peer = Peer.from_signed_raw("{0}{1}\n".format(peering_data['raw'], peering_data['signature'])) self.peer = Peer.from_signed_raw("{0}{1}\n".format(peering_data['raw'], peering_data['signature']))
if node_pubkey != self.pubkey: if node_pubkey != self.pubkey:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment