Commit 84ef028
Bugfix for create_multisig_psbt() (#131)
* None for witness_lookup bad for PSBT.create()
Passing in None to the witness_lookup in psbt_helper::create_multisig_psbt
does the wrong thing if you end up passing in a P2WSH address as an output.
It seems that an empty dictionary behaves correctly as an empty
witness_lookup object.
* add test coverage and bump version number
Co-authored-by: Chris Howe <chris@unchained-capital.com>
Co-authored-by: Michael Flaxman <mflaxman@gmail.com>1 parent 629d8f9 commit 84ef028
3 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
134 | 142 | | |
135 | 143 | | |
136 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments