| 551 | } |
| 552 | |
| 553 | static size_t psbt_output_weight(struct wally_psbt *psbt, |
| 554 | size_t outnum) |
| 555 | { |
| 556 | return (8 + psbt->tx->outputs[outnum].script_len + |
| 557 | varint_size(psbt->tx->outputs[outnum].script_len)) * 4; |
| 558 | } |
| 559 | |
| 560 | static bool find_txout(struct wally_psbt *psbt, const u8 *wscript, u32 *funding_txout) |
| 561 | { |
no test coverage detected