diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2019-07-02 15:16:36 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-08-19 16:19:00 +0200 |
commit | 0e7c7465bf2b9911da094d9790480f94e158f9a5 (patch) | |
tree | 9ed3154604d16f6a60e2a55a41a5197f61d1b7dd /test/functional/rpc_psbt.py | |
parent | e9adb96f8854d21a02d80b4295f1a2e57579cc18 (diff) | |
download | bitcoin-0e7c7465bf2b9911da094d9790480f94e158f9a5.tar.xz |
wallet: Fix -maxtxfee check by moving it to CWallet::CreateTransaction
Github-Pull: #16322
Rebased-From: 5c1b9714cb0a13be28324f91f4ec9ca66a1de8c7
Diffstat (limited to 'test/functional/rpc_psbt.py')
-rwxr-xr-x | test/functional/rpc_psbt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 24ac14162c..1beda6e832 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -136,7 +136,7 @@ class PSBTTest(BitcoinTestFramework): assert_greater_than(0.06, res["fee"]) # feeRate of 10 BTC / KB produces a total fee well above -maxtxfee - # previously this was silenty capped at -maxtxfee + # previously this was silently capped at -maxtxfee assert_raises_rpc_error(-4, "Fee exceeds maximum configured by -maxtxfee", self.nodes[1].walletcreatefundedpsbt, [{"txid":txid,"vout":p2wpkh_pos},{"txid":txid,"vout":p2sh_p2wpkh_pos},{"txid":txid,"vout":p2pkh_pos}], {self.nodes[1].getnewaddress():29.99}, 0, {"feeRate": 10}) # partially sign multisig things with node 1 |