mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
Add a serialVersionUID to Sha256Hash. Resolves issue 77.
This commit is contained in:
parent
892dffd732
commit
24b87d8d6e
@ -27,6 +27,8 @@ import java.util.Arrays;
|
|||||||
* map. It also checks that the length is correct and provides a bit more type safety.
|
* map. It also checks that the length is correct and provides a bit more type safety.
|
||||||
*/
|
*/
|
||||||
public class Sha256Hash implements Serializable {
|
public class Sha256Hash implements Serializable {
|
||||||
|
private static final long serialVersionUID = 3778897922647016546L;
|
||||||
|
|
||||||
private byte[] bytes;
|
private byte[] bytes;
|
||||||
|
|
||||||
public static final Sha256Hash ZERO_HASH = new Sha256Hash(new byte[32]);
|
public static final Sha256Hash ZERO_HASH = new Sha256Hash(new byte[32]);
|
||||||
|
Loading…
Reference in New Issue
Block a user