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

Function fee_action

plugins/spender/splice.c:279–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279static struct splice_script_result *fee_action(struct splice_cmd *splice_cmd)
280{
281 for (size_t i = 0; i < tal_count(splice_cmd->actions); i++) {
282 struct splice_script_result *action = splice_cmd->actions[i];
283 if (action->pays_fee)
284 return action;
285 }
286 return NULL;
287}
288
289static struct command_result *notice_missing_funds(struct command *cmd,
290 struct splice_cmd *splice_cmd,

Callers 1

handle_fee_and_ppmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected