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

Function migrate_datastore_commando_runes

wallet/wallet.c:6777–6785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6775}
6776
6777void migrate_datastore_commando_runes(struct lightningd *ld, struct db *db)
6778{
6779 const char **startkey;
6780
6781 /* We deleted this from the datastore on migration. */
6782 startkey = mkdatastorekey(tmpctx, "commando", "rune_counter");
6783 if (db_datastore_get(tmpctx, db, startkey, NULL))
6784 db_fatal(db, "Commando runes still present? Migration removed in v25.02: call Rusty!");
6785}
6786
6787void migrate_runes_idfix(struct lightningd *ld, struct db *db)
6788{

Callers

nothing calls this directly

Calls 2

db_fatalFunction · 0.85
db_datastore_getFunction · 0.70

Tested by

no test coverage detected