Fix redundant expression in MnemonicCode.

This commit is contained in:
Mike Hearn 2014-06-12 20:26:30 +02:00
parent 7a689fce3d
commit 57105f52e6

View file

@ -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");
}