Skip to content

Commit

Permalink
fix: fix the null fileds just to make the code working
Browse files Browse the repository at this point in the history
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
  • Loading branch information
vincenzopalazzo committed Apr 5, 2023
1 parent 95b5076 commit 43ebf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glightning/lightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit 43ebf03

Please sign in to comment.