aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorJim Posen <jimpo@coinbase.com>2017-08-24 17:06:42 -0700
committerJim Posen <jimpo@coinbase.com>2017-10-03 10:28:00 -0700
commiteff4bd8ab257a553ca8898ccd803630b4d44a771 (patch)
treed55da0a01a7cde16c0ae189bbf690044b10eae27 /test/functional/test_framework
parenta2be3b66b56bccc01dfa2fb992515ae56bbedd49 (diff)
[test] P2P functional test for certain fingerprinting protections
Diffstat (limited to 'test/functional/test_framework')
-rwxr-xr-xtest/functional/test_framework/mininode.py4
1 files changed, 2 insertions, 2 deletions
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