diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-06 15:53:00 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-06 15:53:00 +0800 |
commit | da50c751480da32036f41ccbeb1f292694ca0286 (patch) | |
tree | d83eb84c684d0c86d4fcdc20b8acb525b8f923de /ethcrypto/mnemonic.go | |
parent | 4edf7cfb0543555921a79f572c749615c4997ea7 (diff) | |
download | go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar.gz go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar.bz2 go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar.lz go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar.xz go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.tar.zst go-tangerine-da50c751480da32036f41ccbeb1f292694ca0286.zip |
Added state dump method
Diffstat (limited to 'ethcrypto/mnemonic.go')
-rw-r--r-- | ethcrypto/mnemonic.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ethcrypto/mnemonic.go b/ethcrypto/mnemonic.go index b8df2ad6f..2d3ac85a3 100644 --- a/ethcrypto/mnemonic.go +++ b/ethcrypto/mnemonic.go @@ -13,12 +13,9 @@ import ( func InitWords(wordsPath string) { filename := path.Join(wordsPath, "mnemonic.words.lst") if _, err := os.Stat(filename); os.IsNotExist(err) { - fmt.Printf("reading mnemonic word list file from supplied path not found. Looked in %s. Trying next option.\n", filename) - dir := path.Join(os.Getenv("GOPATH"), "src", "github.com", "ethereum", "eth-go", "ethcrypto") filename = path.Join(dir, "mnemonic.words.lst") if _, err := os.Stat(filename); os.IsNotExist(err) { - fmt.Printf("reading mnemonic word list file 'mnemonic.words.lst' from source folder failed: %s.\n", filename) dir, err := filepath.Abs(filepath.Dir(os.Args[0])) if err != nil { panic(fmt.Errorf("problem getting current folder: ", err)) |