| 174 | } |
| 175 | |
| 176 | bool psbt_is_finalized(const struct wally_psbt *psbt) |
| 177 | { |
| 178 | size_t is_finalized; |
| 179 | int wally_err = wally_psbt_is_finalized(psbt, &is_finalized); |
| 180 | assert(wally_err == WALLY_OK); |
| 181 | return is_finalized ? true : false; |
| 182 | } |
| 183 | |
| 184 | struct wally_psbt_input *psbt_add_input(struct wally_psbt *psbt, |
| 185 | const struct wally_tx_input *input, |
no outgoing calls
no test coverage detected