Skip to content

Commit

Permalink
Update cmd/daemon/start.go
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f authored Dec 30, 2024
1 parent d6f424e commit aedfdaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/daemon/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func buildStartCmd(parentCmd *cobra.Command) {
} else if *passwordFromFileOpt != "" {
b, err := util.ReadFile(*passwordFromFileOpt)
cmd.FatalErrorCheck(err)

password = strings.TrimSpace(string(b))

Check warning on line 64 in cmd/daemon/start.go

View check run for this annotation

Codecov / codecov/patch

cmd/daemon/start.go#L60-L64

Added lines #L60 - L64 were not covered by tests
} else {
password = cmd.PromptPassword("Wallet password", false)
Expand Down

0 comments on commit aedfdaf

Please sign in to comment.