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

Function unreserve_done

plugins/funder.c:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static struct command_result *
77unreserve_done(struct command *cmd UNUSED,
78 const char *buf,
79 const jsmntok_t *result,
80 struct pending_open *open)
81{
82 plugin_log(open->p, LOG_DBG,
83 "`unreserveinputs` for channel %s completed. %*.s",
84 type_to_string(tmpctx, struct channel_id, &open->channel_id),
85 json_tok_full_len(result),
86 json_tok_full(buf, result));
87
88 tal_free(open);
89 return command_done();
90}
91
92/* Frees open (eventually, in unreserve_done callback) */
93static void unreserve_psbt(struct pending_open *open)

Callers

nothing calls this directly

Calls 6

tal_freeFunction · 0.85
command_doneFunction · 0.85
plugin_logFunction · 0.70
type_to_stringClass · 0.50
json_tok_full_lenFunction · 0.50
json_tok_fullFunction · 0.50

Tested by

no test coverage detected