diff options
author | Jim Posen <jimpo@coinbase.com> | 2017-08-24 17:06:42 -0700 |
---|---|---|
committer | Jim Posen <jimpo@coinbase.com> | 2017-10-03 10:28:00 -0700 |
commit | eff4bd8ab257a553ca8898ccd803630b4d44a771 (patch) | |
tree | d55da0a01a7cde16c0ae189bbf690044b10eae27 /test/functional/test_framework | |
parent | a2be3b66b56bccc01dfa2fb992515ae56bbedd49 (diff) |
[test] P2P functional test for certain fingerprinting protections
Diffstat (limited to 'test/functional/test_framework')
-rwxr-xr-x | test/functional/test_framework/mininode.py | 4 |
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 |