From 507438bf7b3768718b930b8887d328c2d129e486 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Wed, 24 Oct 2018 16:45:55 -0400 Subject: [PATCH] Additional cleanup --- client/keys/new.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/keys/new.go b/client/keys/new.go index c8d38c6cc0..e72a958a92 100644 --- a/client/keys/new.go +++ b/client/keys/new.go @@ -1,9 +1,7 @@ package keys import ( - "bufio" "fmt" - "os" "github.com/bartekn/go-bip39" "github.com/pkg/errors" @@ -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