diff options
author | John Newbery <john@johnnewbery.com> | 2021-01-02 15:09:04 +0000 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2022-05-15 15:37:56 -0400 |
commit | 16730b64bb4a11995d792f626c8a63318e5eaeeb (patch) | |
tree | 28f8313e7aecbbd466bf225d97a6013f3582aaf8 /test/functional/p2p_compactblocks.py | |
parent | cba909eaf938a775a9bd2dd994d06aba175e8713 (diff) | |
download | bitcoin-16730b64bb4a11995d792f626c8a63318e5eaeeb.tar.xz |
[net processing] Only advertise support for version 2 compact blocks
Subsequent commits will remove support.
Diffstat (limited to 'test/functional/p2p_compactblocks.py')
-rwxr-xr-x | test/functional/p2p_compactblocks.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/p2p_compactblocks.py b/test/functional/p2p_compactblocks.py index 6756644e76..6bf4068944 100755 --- a/test/functional/p2p_compactblocks.py +++ b/test/functional/p2p_compactblocks.py @@ -192,10 +192,8 @@ class CompactBlocksTest(BitcoinTestFramework): return (len(test_node.last_sendcmpct) > 0) test_node.wait_until(received_sendcmpct, timeout=30) with p2p_lock: - # Check that the first version received is version 2 + # Check that version 2 is received. assert_equal(test_node.last_sendcmpct[0].version, 2) - # And that we receive versions down to 1. - assert_equal(test_node.last_sendcmpct[-1].version, 1) test_node.last_sendcmpct = [] tip = int(node.getbestblockhash(), 16) |