Additional cleanup

This commit is contained in:
Aleksandr Bezobchuk 2018-10-24 16:45:55 -04:00
parent 23f62f7761
commit 507438bf7b
1 changed files with 1 additions and 3 deletions

View File

@ -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