Skip to content

Commit

Permalink
Merge pull request #43 from mike76-dev/patch-1
Browse files Browse the repository at this point in the history
Remove unreachable code
  • Loading branch information
lukechampine authored Jan 6, 2024
2 parents d35d32b + 1efdf7f commit cf7f1bf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/walletd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ func getAPIPassword() string {
pw, err := term.ReadPassword(int(os.Stdin.Fd()))
fmt.Println()
check("Could not read API password:", err)
if err != nil {
log.Fatal(err)
}
apiPassword = string(pw)
}
return apiPassword
Expand Down

0 comments on commit cf7f1bf

Please sign in to comment.