aboutsummaryrefslogtreecommitdiffstats
path: root/ethcrypto
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-08-06 15:53:00 +0800
committerobscuren <geffobscura@gmail.com>2014-08-06 15:53:00 +0800
commitda50c751480da32036f41ccbeb1f292694ca0286 (patch)
treed83eb84c684d0c86d4fcdc20b8acb525b8f923de /ethcrypto
parent4edf7cfb0543555921a79f572c749615c4997ea7 (diff)
downloaddexon-da50c751480da32036f41ccbeb1f292694ca0286.tar.gz
dexon-da50c751480da32036f41ccbeb1f292694ca0286.tar.zst
dexon-da50c751480da32036f41ccbeb1f292694ca0286.zip
Added state dump method
Diffstat (limited to 'ethcrypto')
-rw-r--r--ethcrypto/mnemonic.go3
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))