Changed BIP0039 to code friendly INT11 zero based non-human counting

This commit is contained in:
Willem Cazander 2025-01-23 17:47:30 +01:00
parent 147bd819e7
commit 58839481d8
2 changed files with 2050 additions and 2050 deletions

View file

@ -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++;
}
}