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

Function get_htlc_min

devtools/gossmap-compress.c:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219static u64 get_htlc_min(struct gossmap *gossmap,
220 const struct gossmap_chan *chan,
221 int dir)
222{
223 struct amount_msat msat;
224 gossmap_chan_get_update_details(gossmap, chan, dir,
225 NULL, NULL, NULL, NULL, NULL, NULL, &msat, NULL);
226 return msat.millisatoshis; /* Raw: compressed format */
227}
228
229static u64 get_htlc_max(struct gossmap *gossmap,
230 const struct gossmap_chan *chan,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected