diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-10-15 17:15:22 -0400 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2020-02-05 22:55:25 +0000 |
commit | 1cf77a2dc36c81b80a2f9af52ed99bd426061de8 (patch) | |
tree | 61d8a7b9af20ef40f88b058639535c8cfabae708 /src/wallet/test/psbt_wallet_tests.cpp | |
parent | 178a8346871e17d621ac780a5c47be65508ce176 (diff) |
Don't calculate tx fees for PSBTs with invalid money values
In decodepsbt if an invalid amount is seen, don't calculate the fee
but still show the invalid value in the decode.
In analyze psbt, if an invalid amount is seen, set the next step to
be the creator as the creator needs to remake the transaction so that
it is valid.
Github-Pull: #17156
Rebased-From: f1ef7f0aa46338f4cd8de79696027a1bf868f359
Diffstat (limited to 'src/wallet/test/psbt_wallet_tests.cpp')
0 files changed, 0 insertions, 0 deletions