| 892 | } |
| 893 | |
| 894 | static u8 *sign_htlc_timeout(const tal_t *ctx, |
| 895 | const struct bitcoin_tx *tx, |
| 896 | const struct onchain_signing_info *info) |
| 897 | { |
| 898 | const bool anchor_outputs = channel_type_has_anchors(info->channel->type); |
| 899 | |
| 900 | assert(info->msgtype == WIRE_ONCHAIND_SPEND_HTLC_TIMEOUT); |
| 901 | return towire_hsmd_sign_any_local_htlc_tx(ctx, |
| 902 | info->u.htlc_timeout.commit_num, |
| 903 | tx, info->wscript, |
| 904 | anchor_outputs, |
| 905 | 0, |
| 906 | &info->channel->peer->id, |
| 907 | info->channel->dbid); |
| 908 | } |
| 909 | |
| 910 | static u8 *sign_fulfill(const tal_t *ctx, |
| 911 | const struct bitcoin_tx *tx, |
nothing calls this directly
no test coverage detected