Change serialVer on Block. Patch from Andreas.

This commit is contained in:
Mike Hearn
2011-03-14 09:58:06 +00:00
parent 845224c8d5
commit a7015bd0d4

View File

@@ -33,7 +33,7 @@ import static com.google.bitcoin.core.Utils.*;
* you grab it from a downloaded {@link BlockChain}.
*/
public class Block extends Message {
private static final long serialVersionUID = -2834162413473103042L;
private static final long serialVersionUID = 2738848929966035281L;
static final long ALLOWED_TIME_DRIFT = 2 * 60 * 60; // Same value as official client.
/** A value for difficultyTarget (nBits) that allows half of all possible hash solutions. Used in unit testing. */