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

Function towire_save_channel

plugins/askrene/layer.c:451–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451static void towire_save_channel(u8 **data, const struct local_channel *lc)
452{
453 towire_dstore_channel(data, &lc->n1, &lc->n2, lc->scid, lc->capacity);
454}
455
456static void save_channel(struct layer *layer, const struct local_channel *lc)
457{

Callers 2

save_channelFunction · 0.85
save_complete_layerFunction · 0.85

Calls 1

towire_dstore_channelFunction · 0.85

Tested by

no test coverage detected