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

Function unreserve_done

plugins/funder.c:81–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81static struct command_result *
82unreserve_done(struct command *aux_cmd,
83 const char *method,
84 const char *buf,
85 const jsmntok_t *result,
86 struct pending_open *open)
87{
88 plugin_log(open->p, LOG_DBG,
89 "`unreserveinputs` for channel %s completed. %.*s",
90 fmt_channel_id(tmpctx, &open->channel_id),
91 json_tok_full_len(result),
92 json_tok_full(buf, result));
93
94 return aux_command_done(aux_cmd);
95}
96
97/* Frees open (eventually, in unreserve_done callback) */
98static struct command_result *unreserve_psbt(struct command *cmd,

Callers

nothing calls this directly

Calls 5

aux_command_doneFunction · 0.85
plugin_logFunction · 0.70
fmt_channel_idFunction · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected