We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e211d commit e746813Copy full SHA for e746813
test/functional/test_framework/messages.py
@@ -229,6 +229,9 @@ def __init__(self):
229
self.ip = "0.0.0.0"
230
self.port = 0
231
232
+ def __eq__(self, other):
233
+ return self.net == other.net and self.ip == other.ip and self.nServices == other.nServices and self.port == other.port and self.time == other.time
234
+
235
def deserialize(self, f, *, with_time=True):
236
"""Deserialize from addrv1 format (pre-BIP155)"""
237
if with_time:
0 commit comments