3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00

Add a serialVersionUID to Sha256Hash. Resolves issue 77.

This commit is contained in:
Mike Hearn 2011-09-10 09:55:13 +00:00
parent 892dffd732
commit 24b87d8d6e

View File

@ -27,6 +27,8 @@ import java.util.Arrays;
* map. It also checks that the length is correct and provides a bit more type safety.
*/
public class Sha256Hash implements Serializable {
private static final long serialVersionUID = 3778897922647016546L;
private byte[] bytes;
public static final Sha256Hash ZERO_HASH = new Sha256Hash(new byte[32]);