63f8b74026
Without this patch, the summary and feeadjuster plugins crash on startup.
17 lines
803 B
Diff
17 lines
803 B
Diff
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:
|