Skip to content

Commit 5ef8c2c

Browse files
committed
test: fix typo for MaybeResendWalletTxs
1 parent fbba4a1 commit 5ef8c2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/functional/wallet_resendwallettransactions.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def run_test(self):
3131

3232
# Wallet rebroadcast is first scheduled 1 min sec after startup (see
3333
# nNextResend in ResendWalletTransactions()). Tell scheduler to call
34-
# MaybeResendWalletTxn now to initialize nNextResend before the first
34+
# MaybeResendWalletTxs now to initialize nNextResend before the first
3535
# setmocktime call below.
3636
node.mockscheduler(60)
3737

@@ -60,15 +60,15 @@ def run_test(self):
6060
twelve_hrs = 12 * 60 * 60
6161
two_min = 2 * 60
6262
node.setmocktime(now + twelve_hrs - two_min)
63-
node.mockscheduler(60) # Tell scheduler to call MaybeResendWalletTxn now
63+
node.mockscheduler(60) # Tell scheduler to call MaybeResendWalletTxs now
6464
assert_equal(int(txid, 16) in peer_second.get_invs(), False)
6565

6666
self.log.info("Bump time & check that transaction is rebroadcast")
6767
# Transaction should be rebroadcast approximately 24 hours in the future,
6868
# but can range from 12-36. So bump 36 hours to be sure.
6969
with node.assert_debug_log(['ResendWalletTransactions: resubmit 1 unconfirmed transactions']):
7070
node.setmocktime(now + 36 * 60 * 60)
71-
# Tell scheduler to call MaybeResendWalletTxn now.
71+
# Tell scheduler to call MaybeResendWalletTxs now.
7272
node.mockscheduler(60)
7373
# Give some time for trickle to occur
7474
node.setmocktime(now + 36 * 60 * 60 + 600)

0 commit comments

Comments
 (0)