diff --git a/pom.xml b/pom.xml index 5cc02a8..2213ff9 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.pawelgorny lostword - 0.13.0 + 0.13.1 jar diff --git a/src/main/java/com/pawelgorny/lostword/Configuration.java b/src/main/java/com/pawelgorny/lostword/Configuration.java index e065490..1671fbc 100644 --- a/src/main/java/com/pawelgorny/lostword/Configuration.java +++ b/src/main/java/com/pawelgorny/lostword/Configuration.java @@ -98,7 +98,11 @@ private void parseScript(String targetAddress) { } } } - System.out.println("Using script " + DBscriptType); + if (this.coin.equals(Configuration.ETHEREUM)){ + System.out.println("Using ETHEREUM"); + }else { + System.out.println("Using script " + DBscriptType); + } } private void parsePath(String path) { diff --git a/src/main/java/com/pawelgorny/lostword/Main.java b/src/main/java/com/pawelgorny/lostword/Main.java index da43ab2..88c1eaa 100644 --- a/src/main/java/com/pawelgorny/lostword/Main.java +++ b/src/main/java/com/pawelgorny/lostword/Main.java @@ -109,24 +109,27 @@ private static Configuration readConfiguration(String file) { words.add(line); } }else if (WORK.POOL.equals(work)){ - if (line.startsWith(Configuration.UNKNOWN_CHAR)){ - words.add(Configuration.UNKNOWN_CHAR); - wordsPool.add(new ArrayList<>(Configuration.MNEMONIC_CODE.getWordList())); - }else { - String[] potentialWords = line.split(" "); - for (int i=0; i(Configuration.MNEMONIC_CODE.getWordList())); + }else { + String[] potentialWords = line.split(" "); + for (int i=0; i