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

Function steal_notify

common/daemon.c:109–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static void steal_notify(tal_t *child, enum tal_notify_type n, tal_t *newparent)
110{
111 tal_t *p = newparent;
112
113 assert(tal_parent(child) == newparent);
114 while ((p = tal_parent(p)) != NULL)
115 assert(p != child);
116}
117
118static void add_steal_notifier(tal_t *parent UNUSED,
119 enum tal_notify_type type UNNEEDED,

Callers

nothing calls this directly

Calls 1

tal_parentFunction · 0.85

Tested by

no test coverage detected