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

Function interactivetx_has_changes

common/interactivetx.c:383–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383bool interactivetx_has_changes(struct interactivetx_context *ictx,
384 struct wally_psbt *next_psbt)
385{
386 struct psbt_changeset *set = get_changes(tmpctx, ictx, next_psbt);
387
388 return tal_count(set->added_ins) || tal_count(set->rm_ins)
389 || tal_count(set->added_outs) || tal_count(set->rm_outs);
390}
391
392char *process_interactivetx_updates(const tal_t *ctx,
393 struct interactivetx_context *ictx,

Callers 1

Calls 1

get_changesFunction · 0.85

Tested by

no test coverage detected