From c798b496cd7613900d46894054c0f2550f78bd4d Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kwvg@users.noreply.github.com> Date: Tue, 25 Apr 2023 08:19:50 +0200 Subject: [PATCH] merge bitcoin#27529: fix `feature_addrman.py` on big-endian systems --- test/functional/feature_addrman.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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("