From fafc0d68eef9c9381b1a3d8e160aad9eeb8540a7 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Tue, 12 Dec 2023 19:44:18 +0100 Subject: [PATCH] test: Use int from_bytes and to_bytes over struct packing This is done in prepration for the scripted diff, which can not deal with the 0 literal int. --- test/functional/test_framework/messages.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 1e15113d88..c5050c0e6a 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -399,12 +399,12 @@ class CBlockLocator: self.vHave = [] def deserialize(self, f): - struct.unpack("