diff options
author | Jon Atack <jon@atack.com> | 2020-04-01 15:37:20 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2020-04-01 17:30:02 +0200 |
commit | 6112a209828c43930f677c45461339cdf68a56e9 (patch) | |
tree | 137ce782cfbfe549a555e0fb8de171a9fd01321a /test/functional/p2p_leak_tx.py | |
parent | b97e3a73498bb49e81039e90e9cb5acdca9123cc (diff) |
test: replace (send_message + sync_with_ping) with send_and_ping
Diffstat (limited to 'test/functional/p2p_leak_tx.py')
-rwxr-xr-x | test/functional/p2p_leak_tx.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/p2p_leak_tx.py b/test/functional/p2p_leak_tx.py index dc4d475b2d..c6fcc5e200 100755 --- a/test/functional/p2p_leak_tx.py +++ b/test/functional/p2p_leak_tx.py @@ -39,8 +39,7 @@ class P2PLeakTxTest(BitcoinTestFramework): want_tx = msg_getdata() want_tx.inv.append(CInv(t=1, h=int(txid, 16))) inbound_peer.last_message.pop('notfound', None) - inbound_peer.send_message(want_tx) - inbound_peer.sync_with_ping() + inbound_peer.send_and_ping(want_tx) if inbound_peer.last_message.get('notfound'): self.log.debug('tx {} was not yet announced to us.'.format(txid)) |