diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-31 07:50:19 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-31 07:51:44 -0400 |
commit | fa7d3a88900a800c9eca81b238337d07825a3320 (patch) | |
tree | 99240934fdb22cbf6d1c6897c23061bf207e7cd2 /test/functional | |
parent | eeeed51f58402f3afbd72dfc0f6d0a3de720c297 (diff) |
test: Add missing sync_blocks to wallet_hd
Diffstat (limited to 'test/functional')
-rwxr-xr-x | test/functional/wallet_hd.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_hd.py b/test/functional/wallet_hd.py index 714876f7a2..c441b75652 100755 --- a/test/functional/wallet_hd.py +++ b/test/functional/wallet_hd.py @@ -231,6 +231,7 @@ class WalletHDTest(BitcoinTestFramework): txid = self.nodes[0].sendtoaddress(addr, 1) origin_rpc.sendrawtransaction(self.nodes[0].gettransaction(txid)['hex']) self.nodes[0].generate(1) + self.sync_blocks() origin_rpc.gettransaction(txid) assert_raises_rpc_error(-5, 'Invalid or non-wallet transaction id', restore_rpc.gettransaction, txid) out_of_kp_txid = txid @@ -241,6 +242,7 @@ class WalletHDTest(BitcoinTestFramework): txid = self.nodes[0].sendtoaddress(last_addr, 1) origin_rpc.sendrawtransaction(self.nodes[0].gettransaction(txid)['hex']) self.nodes[0].generate(1) + self.sync_blocks() origin_rpc.gettransaction(txid) restore_rpc.gettransaction(txid) assert_raises_rpc_error(-5, 'Invalid or non-wallet transaction id', restore_rpc.gettransaction, out_of_kp_txid) |