mirror of https://github.com/bitcoin/bitcoin
Merge #13547: Make signrawtransaction* give an error when amount is needed but missing
pull/13584/merge685d1d8115
[tests] Check signrawtransaction* errors on missing prevtx info (Anthony Towns)a3b065b51f
Error on missing amount in signrawtransaction* (Anthony Towns) Pull request description: Signatures using segregated witness commit to the amount being spent, so that value must be passed into signrawtransactionwithkey and signrawtransactionwithwallet. This ensures an error is issued if that doesn't happen, rather than just assuming the value is 0 and producing a signature that is almost certainly invalid. Based on Ben Woosley's #12458, Fixes: #12429. Tree-SHA512: 8e2ff89d5bcf79548e569210af0d850028bc98d86c149b92207c9300ab1d63664a7e2b222c1be403a15941aa5cf36ccc3c0d570ee1c1466f3496b4fe06c17e11
commit
fad42e8c4a
Loading…
Reference in new issue