From 6cbc2da804c088a11aa67b0c84ca9cbcd7b1a697 Mon Sep 17 00:00:00 2001 From: Dominion5254 Date: Wed, 19 Jun 2024 13:57:45 -0600 Subject: [PATCH] Bump to 0.18.0~1 and set migration to configured=true (#130) --- manifest.yaml | 3 +-- scripts/services/migrations.ts | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/manifest.yaml b/manifest.yaml index 283f7ee..85da4af 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,12 +1,11 @@ id: lnd title: LND -version: 0.18.0 +version: 0.18.0.1 release-notes: |- * Update to 0.18.0 [Release Notes](https://github.com/lightningnetwork/lnd/releases/tag/v0.18.0-beta) * Add Umbrel 1.0 migration action * Add config options for zero-conf channels, taproot channels, and sweeper settings * Minor fixes - * Notice! If LND gets stuck in "Stopping" status after the update, the solution is to restart your server. System -> Restart. license: MIT wrapper-repo: "https://github.com/Start9Labs/lnd-startos" diff --git a/scripts/services/migrations.ts b/scripts/services/migrations.ts index d1b678d..39abadc 100644 --- a/scripts/services/migrations.ts +++ b/scripts/services/migrations.ts @@ -210,7 +210,7 @@ export const migration: T.ExpectedExports.migration = compat.migrations throw new Error("Cannot downgrade"); }, }, - "0.18.0": { + "0.18.0.1": { up: compat.migrations.updateConfig( (config: any) => { config.advanced["protocol-zero-conf"] = false; @@ -226,8 +226,8 @@ export const migration: T.ExpectedExports.migration = compat.migrations } return config; }, - false, - { version: "0.18.0", type: "up" } + true, + { version: "0.18.0.1", type: "up" } ), down: compat.migrations.updateConfig( (config) => { @@ -247,9 +247,9 @@ export const migration: T.ExpectedExports.migration = compat.migrations return config; }, true, - { version: "0.18.0", type: "down" } + { version: "0.18.0.1", type: "down" } ) } }, - "0.18.0", + "0.18.0.1", );