aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_resendwallettransactions.py
diff options
context:
space:
mode:
authorOliver Gugger <gugger@gmail.com>2020-09-26 10:43:03 +0200
committerOliver Gugger <gugger@gmail.com>2020-09-26 10:48:54 +0200
commit0fcaf731997c4989b869e42d8990f742637799c2 (patch)
tree7305c1b2673a882bf287144f049516716e361a25 /test/functional/wallet_resendwallettransactions.py
parent78f912c9010f686e2d1bbdc1c51f381b496c2a1b (diff)
downloadbitcoin-0fcaf731997c4989b869e42d8990f742637799c2.tar.xz
test: use explicit p2p objects where available
To make the intent of the tests easier to understand, we reference the p2p connection objects by their explicit names instead of the p2ps array.
Diffstat (limited to 'test/functional/wallet_resendwallettransactions.py')
-rwxr-xr-xtest/functional/wallet_resendwallettransactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/wallet_resendwallettransactions.py b/test/functional/wallet_resendwallettransactions.py
index ca1039092d..d3c03c4764 100755
--- a/test/functional/wallet_resendwallettransactions.py
+++ b/test/functional/wallet_resendwallettransactions.py
@@ -58,7 +58,7 @@ class ResendWalletTransactionsTest(BitcoinTestFramework):
two_min = 2 * 60
node.setmocktime(now + twelve_hrs - two_min)
time.sleep(2) # ensure enough time has passed for rebroadcast attempt to occur
- assert_equal(int(txid, 16) in node.p2ps[1].get_invs(), False)
+ assert_equal(int(txid, 16) in peer_second.get_invs(), False)
self.log.info("Bump time & check that transaction is rebroadcast")
# Transaction should be rebroadcast approximately 24 hours in the future,