From eff4bd8ab257a553ca8898ccd803630b4d44a771 Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Thu, 24 Aug 2017 17:06:42 -0700 Subject: [test] P2P functional test for certain fingerprinting protections --- test/functional/test_framework/mininode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/test_framework/mininode.py') diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py index d072969d7f..c6f596156a 100755 --- a/test/functional/test_framework/mininode.py +++ b/test/functional/test_framework/mininode.py @@ -1310,8 +1310,8 @@ class msg_getheaders(object): class msg_headers(object): command = b"headers" - def __init__(self): - self.headers = [] + def __init__(self, headers=None): + self.headers = headers if headers is not None else [] def deserialize(self, f): # comment in bitcoind indicates these should be deserialized as blocks -- cgit v1.2.3