diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-04-16 23:34:40 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-04-16 23:44:49 +0100 |
commit | 44dab423eb88dbf854d22f2991e79c828ffac0f2 (patch) | |
tree | 6d1fb33f4d3eb40713638e2e96a0d9ff2af6849e /test | |
parent | 585cbe22575306c05b156ea90faa9caa1add4c87 (diff) | |
download | bitcoin-44dab423eb88dbf854d22f2991e79c828ffac0f2.tar.xz |
qa: Test default include_mempool value of gettxout
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/wallet_basic.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/wallet_basic.py b/test/functional/wallet_basic.py index dc6f8ed9c4..46eecae611 100755 --- a/test/functional/wallet_basic.py +++ b/test/functional/wallet_basic.py @@ -95,6 +95,8 @@ class WalletTest(BitcoinTestFramework): # but invisible if you include mempool txout = self.nodes[0].gettxout(confirmed_txid, confirmed_index, False) assert_equal(txout['value'], 50) + txout = self.nodes[0].gettxout(confirmed_txid, confirmed_index) # by default include_mempool=True + assert txout is None txout = self.nodes[0].gettxout(confirmed_txid, confirmed_index, True) assert txout is None # new utxo from mempool should be invisible if you exclude mempool |