diff --git a/core/java/src/net/i2p/data/Hash.java b/core/java/src/net/i2p/data/Hash.java index 10856d0c2d3dfd6d60d7e5e75bf6a6f67f476a4b..ddf210c5415d733b2dbe26095dd983beff2d9b57 100644 --- a/core/java/src/net/i2p/data/Hash.java +++ b/core/java/src/net/i2p/data/Hash.java @@ -140,7 +140,7 @@ public class Hash extends DataStructureImpl { public void writeBytes(OutputStream out) throws DataFormatException, IOException { if (_data == null) throw new DataFormatException("No data in the hash to write out"); - if (_data.length != HASH_LENGTH) throw new DataFormatException("Invalid size of data in the private key"); + if (_data.length != HASH_LENGTH) throw new DataFormatException("Invalid size of data in the hash"); out.write(_data); }