wallet_sendmany_any_taddr.py: Expect expired tx to be ignored.

This commit is contained in:
therealyingtong 2022-03-02 19:35:15 +08:00
parent 454c1eed46
commit cedf2b5ecb
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ class WalletSendManyAnyTaddr(BitcoinTestFramework):
assert_equal(0, self.nodes[2].getbalance())
# Check that ANY_TADDR doesn't select an expired output.
wait_and_assert_operationid_status(self.nodes[2], self.nodes[2].z_sendmany('ANY_TADDR', [{'address': recipient, 'amount': 13}]), "failed", "SendTransaction: CommitTransaction failed")
wait_and_assert_operationid_status(self.nodes[2], self.nodes[2].z_sendmany('ANY_TADDR', [{'address': recipient, 'amount': 13}]), "failed", "Insufficient funds: have 0.00, need 13.00001")
if __name__ == '__main__':
WalletSendManyAnyTaddr().main()