From fa74d3d720f72c5f1184ca3e03b0c14a2bc06ed5 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 23 Aug 2018 10:10:13 -0400 Subject: [PATCH] qa: Remove unused deserialization code in msg_version --- test/functional/test_framework/messages.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 3cd148a02..0a3907cba 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -909,21 +909,12 @@ class msg_version(): self.addrTo = CAddress() self.addrTo.deserialize(f, False) - if self.nVersion >= 106: - self.addrFrom = CAddress() - self.addrFrom.deserialize(f, False) - self.nNonce = struct.unpack("= 209: - self.nStartingHeight = struct.unpack("= 70001: # Relay field is optional for version 70001 onwards