Skip to content

Commit

Permalink
Update bip39.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gaikov-everstake authored Oct 7, 2024
1 parent 50c3388 commit 78c2437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/cli/bip39.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ func existingMnemonicAction(cCtx *cli.Context) error {
fmt.Print("Enter Mnemonic: ")

scanner := bufio.NewScanner(os.Stdin)

scannerScan := scanner.Scan()

if scannerScan {
mnemonic = scanner.Text()
}
Expand Down

0 comments on commit 78c2437

Please sign in to comment.