update nixpkgs

btcpayserver: 1.6.12 -> 1.7.1
bitcoind: 24.0 -> 24.0.1
clightning: 0.12.1 -> 22.11.1
lnd: 0.15.4-beta -> 0.15.5-beta
nbxplorer: 2.3.41 -> 2.3.49
This commit is contained in:
Jonas Nick
2022-12-10 21:26:30 +00:00
parent 5cafafd027
commit 875fac6862
6 changed files with 14 additions and 38 deletions

View File

@@ -32,7 +32,7 @@ let
extraPkgs = [ prometheus_client ];
patchRequirements =
"--replace prometheus-client==0.6.0 prometheus-client==0.13.1"
+ " --replace pyln-client~=0.9.3 pyln-client~=0.11.1";
+ " --replace pyln-client~=0.9.3 pyln-client~=22.11rc1";
};
rebalance = {
description = "Keeps your channels balanced";

View File

@@ -3,7 +3,6 @@ pkgs: pkgsUnstable:
{
inherit (pkgs)
lightning-pool
lnd
lndconnect;
inherit (pkgsUnstable)
@@ -18,6 +17,7 @@ pkgs: pkgsUnstable:
fulcrum
hwi
lightning-loop
lnd
nbxplorer;
inherit pkgs pkgsUnstable;

View File

@@ -16,13 +16,5 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
# TODO-EXTERNAL:
# This patch is a variant (fixed relative path) of
# https://github.com/ElementsProject/lightning/pull/5574. This is already
# fixed upstream. Remove this after the next clightning release.
patches = [
./msat-null.patch
];
postUnpack = "sourceRoot=$sourceRoot/contrib/${pname}";
}

View File

@@ -1,16 +0,0 @@
diff --git a/pyln/client/lightning.py b/pyln/client/lightning.py
index 38fc7563f..0013b89a3 100644
--- a/pyln/client/lightning.py
+++ b/pyln/client/lightning.py
@@ -455,6 +455,11 @@ class LightningRpc(UnixDomainSocketRpc):
if k.endswith('msat'):
if isinstance(v, list):
obj[k] = [Millisatoshi(e) for e in v]
+ # FIXME: Deprecated "listconfigs" gives two 'null' fields:
+ # "lease-fee-base-msat": null,
+ # "channel-fee-max-base-msat": null,
+ elif v is None:
+ obj[k] = None
else:
obj[k] = Millisatoshi(v)
else: