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

Function opend_channel_errmsg

lightningd/opening_common.c:96–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void opend_channel_errmsg(struct uncommitted_channel *uc,
97 struct peer_fd *peer_fd,
98 const struct channel_id *channel_id UNUSED,
99 const char *desc,
100 bool warning UNUSED,
101 const u8 *err_for_them UNUSED)
102{
103 /* Close fds, if any. */
104 tal_free(peer_fd);
105 uncommitted_channel_disconnect(uc, LOG_INFORM, desc);
106 tal_free(uc);
107}
108
109/* There's nothing permanent in an unconfirmed transaction */
110void 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