diff options
| author | Sebastian Falbesoner <[email protected]> | 2020-07-26 13:07:45 +0200 |
|---|---|---|
| committer | Sebastian Falbesoner <[email protected]> | 2020-07-26 13:25:16 +0200 |
| commit | 82dee87933ed0714976ff4eb9657acfc13c6de84 (patch) | |
| tree | 57960ba3575bea25943a38b11bef8a7558065226 /src/script/script.cpp | |
| parent | Merge #19472: [net processing] Reduce cs_main scope in MaybeDiscourageAndDisc... (diff) | |
| download | discoin-82dee87933ed0714976ff4eb9657acfc13c6de84.tar.xz discoin-82dee87933ed0714976ff4eb9657acfc13c6de84.zip | |
test: test decodepsbt fee calculation (count input value only once per UTXO)
Checks that the RPC decodepsbt calculates the fee correctly, in particular for
PSBTs with segwit inputs that have both a witness- and a non-witness-UTXO type
set. Before commit 75122780e2c46505d977e24c5612dfa9442ab754 ("Increment input
value sum only once per UTXO in decodepsbt") the values for those inputs were
double counted.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions