mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
When converting from entropy to mnemonic with `toMnemonic()`, a `MnemonicLengthException` was thrown for entropies with invalid length. This is bad for two reasons: - it is a checked exception, and the method will not be called with user input - misleading exception name, the error is about the entropy length not the mnemonic We now throw a `RuntimeException` instead. The resulting simplification of calling code can be witnessed in `DeterministicSeed`. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
findbugs.xml |