Skip to content

Commit

Permalink
feat: use network from LND response
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Dec 13, 2023
1 parent c50795e commit d751b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (svc *LNDService) GetInfo(ctx context.Context, senderPubkey string) (info *
Alias: resp.Alias,
Color: resp.Color,
Pubkey: resp.IdentityPubkey,
Network: "mainnet",
Network: resp.Chains[0].Network,
BlockHeight: resp.BlockHeight,
BlockHash: resp.BlockHash,
}, nil
Expand Down

0 comments on commit d751b03

Please sign in to comment.