| 1125 | } |
| 1126 | |
| 1127 | static void init_changeset(struct tx_state *tx_state, struct wally_psbt *psbt) |
| 1128 | { |
| 1129 | /* We need an empty to compare to */ |
| 1130 | struct wally_psbt *empty_psbt = create_psbt(tmpctx, 0, 0, 0); |
| 1131 | |
| 1132 | tx_state->changeset = psbt_get_changeset(tx_state, empty_psbt, psbt); |
| 1133 | } |
| 1134 | |
| 1135 | static u8 *handle_channel_ready(struct state *state, u8 *msg) |
| 1136 | { |
no test coverage detected