mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-25 07:07:39 +01:00
Fix redundant expression in MnemonicCode.
This commit is contained in:
parent
7a689fce3d
commit
57105f52e6
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class MnemonicCode {
|
|||
// If a wordListDigest is supplied check to make sure it matches.
|
||||
if (wordListDigest != null) {
|
||||
byte[] digest = md.digest();
|
||||
String hexdigest = new String(HEX.encode(digest));
|
||||
String hexdigest = HEX.encode(digest);
|
||||
if (!hexdigest.equals(wordListDigest))
|
||||
throw new IllegalArgumentException("wordlist digest mismatch");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue