diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-25 11:24:11 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-04-25 11:24:14 -0400 |
commit | 8cca1fbea9bc7bcd32600f3ba5e81cfefb4309af (patch) | |
tree | 7716d9c2c54e009850dd875b6c2230cf073c0801 /src/protocol.cpp | |
parent | 40a720acb8472f6e8afdf8b8d1897f35d58daf1f (diff) | |
parent | c87fc71f7e9316bcc0653cd86c50177424b5b1f9 (diff) |
Merge #14818: Bugfix: test/functional/rpc_psbt: Remove check for specific error message that depends on uncertain assumptions
c87fc71f7e Bugfix: test/functional/rpc_psbt: Correct test description comment (Luke Dashjr)
097c4aa379 Bugfix: test/functional/rpc_psbt: Remove check for specific error message that depends on uncertain assumptions (Luke Dashjr)
Pull request description:
When converttopsbt is called with a signed transaction, it either fails with "TX decode failed" if one or more inputs were segwit, or "Inputs must not have scriptSigs and scriptWitnesses" otherwise.
Since no effort is made by the test to ensure the inputs are segwit or not, avoid checking the exact message used.
The error code is still checked to ensure it is of the correct kind of failure.
ACKs for commit c87fc7:
instagibbs:
utACK https://github.com/bitcoin/bitcoin/pull/14818/commits/c87fc71f7e9316bcc0653cd86c50177424b5b1f9
achow101:
utACK c87fc71f7e9316bcc0653cd86c50177424b5b1f9
Tree-SHA512: 61312b5d49aa50652902f30ba9693dfba9e5b7e6478f23becda20202d8b328ddb3e040f2199b617a68df133a5f1f8b5d68bc19d4621303f17c1963dca01bd9ef
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions