From 43ebf03ad562575dae7e74dd2c8e1ab8d9ed6f30 Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 6 Apr 2023 00:36:10 +0200 Subject: [PATCH] fix: fix the null fileds just to make the code working Signed-off-by: Vincenzo Palazzo --- glightning/lightning.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glightning/lightning.go b/glightning/lightning.go index eeacaa7..8fc90db 100644 --- a/glightning/lightning.go +++ b/glightning/lightning.go @@ -417,7 +417,7 @@ type Channel struct { ShortChannelId string `json:"short_channel_id"` IsPublic bool `json:"public"` Satoshis uint64 `json:"satoshis"` - AmountMsat string `json:"amount_msat"` + AmountMsat *string `json:"amount_msat"` MessageFlags uint `json:"message_flags"` ChannelFlags uint `json:"channel_flags"` IsActive bool `json:"active"`