MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fail_htlc

Function fail_htlc

tests/fuzz/fuzz-full_channel.c:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static bool fail_htlc(struct channel *channel, enum side original_sender, u64 id)
146{
147 if (channel_fail_htlc(channel, original_sender, id, NULL)
148 != CHANNEL_ERR_REMOVE_OK)
149 return false;
150 return true;
151}
152
153static void init_channels(const tal_t *ctx, const u8 **cursor, size_t *max,
154 struct pubkey *local_per_commitment_point,

Callers 1

runFunction · 0.85

Calls 1

channel_fail_htlcFunction · 0.85

Tested by

no test coverage detected