| 244 | } |
| 245 | |
| 246 | void 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 | |
| 257 | struct account *find_account(const struct bkpr *bkpr, |
| 258 | const char *name) |
no test coverage detected