From 24b87d8d6e3978171ae84122fe42cf89d0ba8ba0 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Sat, 10 Sep 2011 09:55:13 +0000 Subject: [PATCH] Add a serialVersionUID to Sha256Hash. Resolves issue 77. --- src/com/google/bitcoin/core/Sha256Hash.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/com/google/bitcoin/core/Sha256Hash.java b/src/com/google/bitcoin/core/Sha256Hash.java index 1669fa4d..c9e2252a 100644 --- a/src/com/google/bitcoin/core/Sha256Hash.java +++ b/src/com/google/bitcoin/core/Sha256Hash.java @@ -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]);