mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-07-30 19:41:24 +00:00
Add serialVersionUID to StoredBlock
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.google.bitcoin.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigInteger;
|
||||
|
||||
/**
|
||||
@@ -27,7 +28,9 @@ import java.math.BigInteger;
|
||||
*
|
||||
* StoredBlocks are put inside a {@link BlockStore} which saves them to memory or disk.
|
||||
*/
|
||||
class StoredBlock {
|
||||
class StoredBlock implements Serializable {
|
||||
private static final long serialVersionUID = -6097565241243701771L;
|
||||
|
||||
/**
|
||||
* The block header this object wraps. The referenced block object must not have any transactions in it.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user