1
1
mirror of https://github.com/bumi/lntip synced 2026-02-16 05:57:49 +00:00

Drop go rice and switch to go 1.17

This commit is contained in:
Aaron Dewes
2022-01-30 13:36:56 +01:00
parent c4b4430387
commit 77d21734c3
7 changed files with 814 additions and 439 deletions

View File

@@ -173,7 +173,10 @@ func NewLNDclient(lndOptions LNDoptions) (LNDclient, error) {
if err := mac.UnmarshalBinary(macaroonData); err != nil {
return result, err
}
macCred := macaroons.NewMacaroonCredential(mac)
macCred, err := macaroons.NewMacaroonCredential(mac)
if err != nil {
return result, err
}
opts = append(opts, grpc.WithPerRPCCredentials(macCred))
conn, err := grpc.Dial(lndOptions.Address, opts...)