Skip to content

Commit

Permalink
Merge pull request lightningnetwork#4650 from guggero/lncli-no-macaroons
Browse files Browse the repository at this point in the history
lncli: fix macaroon usage when unlocking or using --no-macaroons
  • Loading branch information
guggero authored Sep 26, 2020
2 parents 68ddba7 + b28bf29 commit fd962d3
Show file tree
Hide file tree
Showing 5 changed files with 590 additions and 561 deletions.
2 changes: 1 addition & 1 deletion cmd/lncli/cmd_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func profileAdd(ctx *cli.Context) error {
}

// Create a profile struct from all the global options.
profile, err := profileFromContext(ctx, true)
profile, err := profileFromContext(ctx, true, false)
if err != nil {
return fmt.Errorf("could not load global options: %v", err)
}
Expand Down
Loading

0 comments on commit fd962d3

Please sign in to comment.