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

Function migrate_datastore_commando_runes

wallet/wallet.c:6740–6748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6738}
6739
6740void migrate_datastore_commando_runes(struct lightningd *ld, struct db *db)
6741{
6742 const char **startkey;
6743
6744 /* We deleted this from the datastore on migration. */
6745 startkey = mkdatastorekey(tmpctx, "commando", "rune_counter");
6746 if (db_datastore_get(tmpctx, db, startkey, NULL))
6747 db_fatal(db, "Commando runes still present? Migration removed in v25.02: call Rusty!");
6748}
6749
6750void migrate_runes_idfix(struct lightningd *ld, struct db *db)
6751{

Callers

nothing calls this directly

Calls 2

db_fatalFunction · 0.85
db_datastore_getFunction · 0.70

Tested by

no test coverage detected