Skip to content

Commit

Permalink
Update lnd.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Filouman authored Dec 10, 2024
1 parent 4e47c18 commit aa9a8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnclient/lnd/wrapper/lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewLNDclient(lndOptions LNDoptions) (result *LNDWrapper, err error) {
creds = credentials.NewClientTLSFromCert(cp, "")
// if a path to a cert file is provided
} else {
creds = credentials.NewTLS(&tls.Config{})
creds = credentials.NewTLS(&tls.Config{InsecureSkipVerify: true})
}
opts := []grpc.DialOption{
grpc.WithTransportCredentials(creds),
Expand Down

0 comments on commit aa9a8de

Please sign in to comment.