diff options
| author | MarcoFalke <[email protected]> | 2018-11-30 16:09:47 -0500 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-11-30 16:09:53 -0500 |
| commit | 924cf794e1f45993213b72aea3704b151eb10b8d (patch) | |
| tree | e2473a30eec5f3bc68c046e8be981522387ca442 /test/functional | |
| parent | Merge #14852: 0.17 backport: [tests] Add wallet_balance.py (diff) | |
| parent | CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown change (diff) | |
| download | discoin-924cf794e1f45993213b72aea3704b151eb10b8d.tar.xz discoin-924cf794e1f45993213b72aea3704b151eb10b8d.zip | |
Merge #14851: [backport] fix assert crash when specified change output spend size is unknown
2a5cc40dc4 CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown change (Gregory Sanders)
53dcf2b407 Remove stale comment in CalculateMaximumSignedInputSize (Gregory Sanders)
Pull request description:
backport of #14380
Tree-SHA512: 42e261bd797d1938f8e041ccd10073ecd1d72695e2e4ce322e5a3ce262647e32108b01dde73361b6d2ac36438522ab3c4cd58ca072194f25011132437430cd27
Diffstat (limited to 'test/functional')
| -rwxr-xr-x | test/functional/rpc_psbt.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 7f2c0c1bd..7c8c6c9af 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -169,6 +169,10 @@ class PSBTTest(BitcoinTestFramework): assert_equal(decoded_psbt["tx"]["locktime"], 0) + # Make sure change address wallet does not have P2SH innerscript access to results in success + # when attempting BnB coin selection + self.nodes[0].walletcreatefundedpsbt([], [{self.nodes[2].getnewaddress():unspent["amount"]+1}], block_height+2, {"changeAddress":self.nodes[1].getnewaddress()}, False) + # BIP 174 Test Vectors # Check that unknown values are just passed through |