Skip to content

Commit 462812b

Browse files
committed
add migration
1 parent 75da588 commit 462812b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

scripts/services/migrations.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,24 @@ export const migration: T.ExpectedExports.migration =
249249
{ version: "26.0.0", type: "down" }
250250
),
251251
},
252+
"26.0.0.1": {
253+
up: compat.migrations.updateConfig((config: any) => config, false, {
254+
version: "26.0.0.1",
255+
type: "up",
256+
}),
257+
down: compat.migrations.updateConfig(
258+
(config: any) => {
259+
delete config.coinstatsindex;
260+
delete config.advanced.mempool.permitbaremultisig;
261+
delete config.advanced.mempool.datacarrier;
262+
delete config.advanced.mempool.datacarriersize;
263+
264+
return config;
265+
},
266+
true,
267+
{ version: "26.0.0.1", type: "down" }
268+
),
269+
},
252270
},
253271
"26.0.0.1"
254272
);

0 commit comments

Comments
 (0)