Skip to content

Commit

Permalink
add migration
Browse files Browse the repository at this point in the history
  • Loading branch information
MattDHill committed Mar 13, 2024
1 parent 75da588 commit 462812b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions scripts/services/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,24 @@ export const migration: T.ExpectedExports.migration =
{ version: "26.0.0", type: "down" }
),
},
"26.0.0.1": {
up: compat.migrations.updateConfig((config: any) => config, false, {
version: "26.0.0.1",
type: "up",
}),
down: compat.migrations.updateConfig(
(config: any) => {
delete config.coinstatsindex;
delete config.advanced.mempool.permitbaremultisig;
delete config.advanced.mempool.datacarrier;
delete config.advanced.mempool.datacarriersize;

return config;
},
true,
{ version: "26.0.0.1", type: "down" }
),
},
},
"26.0.0.1"
);

0 comments on commit 462812b

Please sign in to comment.