diff options
author | MacroFake <falke.marco@gmail.com> | 2022-10-04 16:20:22 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-10-04 16:07:00 +0200 |
commit | dddd1acf58cb7bf328ce3e74d1dc0e8cbd503247 (patch) | |
tree | e7a477dc870b1b4077a7a22a55e617950f87945d /test/functional/p2p_blocksonly.py | |
parent | 914c00074b62b911e16103254279beb5e3255429 (diff) | |
download | bitcoin-dddd1acf58cb7bf328ce3e74d1dc0e8cbd503247.tar.xz |
net: Set relay in version msg to peers with relay permission
Diffstat (limited to 'test/functional/p2p_blocksonly.py')
-rwxr-xr-x | test/functional/p2p_blocksonly.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/p2p_blocksonly.py b/test/functional/p2p_blocksonly.py index 8ac38bff3a..231d2e12c9 100755 --- a/test/functional/p2p_blocksonly.py +++ b/test/functional/p2p_blocksonly.py @@ -57,6 +57,7 @@ class P2PBlocksOnly(BitcoinTestFramework): second_peer = self.nodes[0].add_p2p_connection(P2PInterface()) peer_1_info = self.nodes[0].getpeerinfo()[0] assert_equal(peer_1_info['permissions'], ['relay']) + assert_equal(first_peer.relay, 1) peer_2_info = self.nodes[0].getpeerinfo()[1] assert_equal(peer_2_info['permissions'], ['relay']) assert_equal(self.nodes[0].testmempoolaccept([tx_hex])[0]['allowed'], True) |