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

Function opend_channel_errmsg

lightningd/opening_common.c:86–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void opend_channel_errmsg(struct uncommitted_channel *uc,
87 struct peer_fd *peer_fd,
88 const char *desc,
89 const u8 *err_for_them UNUSED,
90 bool disconnect UNUSED,
91 bool warning UNUSED)
92{
93 /* Close fds, if any. */
94 tal_free(peer_fd);
95 uncommitted_channel_disconnect(uc, LOG_INFORM, desc);
96 tal_free(uc);
97}
98
99/* There's nothing permanent in an unconfirmed transaction */
100void opend_channel_set_billboard(struct uncommitted_channel *uc,

Callers

nothing calls this directly

Calls 2

tal_freeFunction · 0.85

Tested by

no test coverage detected