Skip to content
Snippets Groups Projects
Commit 6a50f6f4 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

nonce too big value

parent e45a89c0
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ public class BlockchainBlock implements Serializable { ...@@ -38,7 +38,7 @@ public class BlockchainBlock implements Serializable {
private static final long serialVersionUID = -5598140972293452669L; private static final long serialVersionUID = -5598140972293452669L;
private String version; private String version;
private Integer nonce; private Long nonce;
private Integer number; private Integer number;
private Integer powMin; private Integer powMin;
private Long time; private Long time;
...@@ -74,10 +74,10 @@ public class BlockchainBlock implements Serializable { ...@@ -74,10 +74,10 @@ public class BlockchainBlock implements Serializable {
public void setVersion(String version) { public void setVersion(String version) {
this.version = version; this.version = version;
} }
public Integer getNonce() { public Long getNonce() {
return nonce; return nonce;
} }
public void setNonce(Integer nonce) { public void setNonce(Long nonce) {
this.nonce = nonce; this.nonce = nonce;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment