Changed BIP0039 to code friendly INT11 zero based non-human counting
This commit is contained in:
parent
147bd819e7
commit
58839481d8
File diff suppressed because it is too large
Load diff
|
@ -45,10 +45,10 @@ public class FCDotBIP0039Dash2KTest {
|
|||
}
|
||||
File wordFile = new File(args[0]);
|
||||
List<String> words = Files.readAllLines(wordFile.toPath());
|
||||
int num = 1;
|
||||
int num = 0;
|
||||
for (String word : words) {
|
||||
String wordEnum = word.toUpperCase();
|
||||
System.out.println(String.format("\tNXX_%04d_%s,", num, wordEnum));
|
||||
System.out.println(String.format("\tINT11_%04d_%s,", num, wordEnum));
|
||||
num++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue