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

Function account_update_closeheight

plugins/bkpr/account.c:246–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246void account_update_closeheight(struct command *cmd,
247 struct account *acct,
248 u64 close_height)
249{
250 assert(close_height);
251 acct->onchain_resolved_block = close_height;
252
253 /* Ok, now we update the account with this blockheight */
254 account_datastore_set(cmd, acct, "must-replace");
255}
256
257struct account *find_account(const struct bkpr *bkpr,
258 const char *name)

Callers 1

do_account_close_checksFunction · 0.70

Calls 1

account_datastore_setFunction · 0.85

Tested by

no test coverage detected