From a18a2a5435d25f4dc1c16a4c3009757b3937972f Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 27 Sep 2023 09:42:45 +0200 Subject: [PATCH] lndhttp: remove nonexistent field from pending chan list funding_expiry_blocks is present in lightning.proto but a REST API call shows no such field, at least in lnd v0.16.4, leading to json parsing error. the field is unused at the moment anyway. --- src/lndhttp.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lndhttp.zig b/src/lndhttp.zig index db517f6..e57dd9a 100644 --- a/src/lndhttp.zig +++ b/src/lndhttp.zig @@ -279,7 +279,6 @@ pub const PendingList = struct { pending_open_channels: []struct { channel: PendingChannel, commit_fee: i64, - funding_expiry_blocks: i32, }, pending_force_closing_channels: []struct { channel: PendingChannel,