3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 02:35:52 +00:00

Expose word list of MnemonicCode. It's useful for auto-completion.

This commit is contained in:
Andreas Schildbach 2014-04-25 19:44:58 +02:00 committed by Mike Hearn
parent 8b8adc6fed
commit c5e82e6bc5

View File

@ -1,5 +1,6 @@
/* /*
* Copyright 2013 Ken Sedgwick * Copyright 2013 Ken Sedgwick
* Copyright 2014 Andreas Schildbach
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -79,6 +80,13 @@ public class MnemonicCode {
} }
} }
/**
* Gets the word list this code uses.
*/
public List<String> getWordList() {
return wordList;
}
/** /**
* Convert mnemonic word list to seed. * Convert mnemonic word list to seed.
*/ */