From c0289d75bb3ccc566f1d8145b2104bcb11c98223 Mon Sep 17 00:00:00 2001 From: Tommy Volk Date: Mon, 21 Oct 2024 16:44:25 +0100 Subject: [PATCH] fix: revert cln version bump --- devimint/src/cfg/lightningd.conf | 1 - gateway/ln-gateway/src/bin/cln_extension.rs | 4 ---- nix/overlays/clightning.nix | 9 ++++++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/devimint/src/cfg/lightningd.conf b/devimint/src/cfg/lightningd.conf index 410922f9c87..3a706defe32 100644 --- a/devimint/src/cfg/lightningd.conf +++ b/devimint/src/cfg/lightningd.conf @@ -3,4 +3,3 @@ bitcoin-rpcuser=bitcoin bitcoin-rpcpassword=bitcoin bitcoin-rpcport={bitcoin_rpcport} addr=127.0.0.1:{port} -developer diff --git a/gateway/ln-gateway/src/bin/cln_extension.rs b/gateway/ln-gateway/src/bin/cln_extension.rs index 5e02698ab45..ccc43934088 100644 --- a/gateway/ln-gateway/src/bin/cln_extension.rs +++ b/gateway/ln-gateway/src/bin/cln_extension.rs @@ -61,10 +61,6 @@ struct ClnExtensionOpts { /// Gateway CLN extension service listen address #[arg(long = "fm-gateway-listen", env = FM_CLN_EXTENSION_LISTEN_ADDRESS_ENV)] fm_gateway_listen: Option, - - /// Developer mode flag - #[arg(long = "developer")] - developer: bool, } #[tokio::main] diff --git a/nix/overlays/clightning.nix b/nix/overlays/clightning.nix index 51deeb374c9..18cc696f210 100644 --- a/nix/overlays/clightning.nix +++ b/nix/overlays/clightning.nix @@ -1,12 +1,15 @@ final: prev: { clightning = prev.clightning.overrideAttrs (oldAttrs: rec { - version = "24.08.1"; + version = "23.05.2"; src = prev.fetchurl { url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; - sha256 = "sha256-2ZKvhNuzGftKwSdmMkHOwE9UEI5Ewn5HHSyyZUcCwB4="; + sha256 = "sha256-Tj5ybVaxpk5wmOw85LkeU4pgM9NYl6SnmDG2gyXrTHw="; }; makeFlags = [ "VERSION=v${version}" ]; - configureFlags = [ "--disable-valgrind" ]; + configureFlags = [ + "--enable-developer" + "--disable-valgrind" + ]; env = { NIX_CFLAGS_COMPILE = "-w"; };