Skip to content

Commit

Permalink
Additional cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Bezobchuk committed Oct 24, 2018
1 parent 23f62f7 commit 507438b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/keys/new.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package keys

import (
"bufio"
"fmt"
"os"

"github.com/bartekn/go-bip39"
"github.com/pkg/errors"
Expand Down Expand Up @@ -154,7 +152,7 @@ func runNewCmd(cmd *cobra.Command, args []string) error {
}

func getBIP44ParamsAndPath(path string, flagSet bool) (*hd.BIP44Params, error) {
buf := bufio.NewReader(os.Stdin)
buf := client.BufferStdin()
bip44Path := path

// if it wasn't set in the flag, give it a chance to overide interactively
Expand Down

0 comments on commit 507438b

Please sign in to comment.