diff --git a/test/functional/feature_addrman.py b/test/functional/feature_addrman.py index 84d025afd9..a08857bcbe 100755 --- a/test/functional/feature_addrman.py +++ b/test/functional/feature_addrman.py @@ -31,12 +31,12 @@ def serialize_addrman( r += struct.pack("B", format) r += struct.pack("B", INCOMPATIBILITY_BASE + lowest_compatible) r += ser_uint256(bucket_key) - r += struct.pack("i", len_new or len(new)) - r += struct.pack("i", len_tried or len(tried)) + r += struct.pack("