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

Function destroy_layer

plugins/askrene/layer.c:212–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212static void destroy_layer(struct layer *l, struct askrene *askrene)
213{
214 if (!layer_name_hash_del(askrene->layers, l))
215 abort();
216}
217
218/* Low-level versions of routines which do *not* save (used for loading, too) */
219static struct layer *add_layer(struct askrene *askrene, const char *name TAKES, bool persistent)

Callers

nothing calls this directly

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected