mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 14:22:45 +01:00
Block: make field version
final
This commit is contained in:
parent
1230c984d2
commit
ce3af91c85
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class Block extends BaseMessage {
|
|||
public static final long BLOCK_VERSION_BIP65 = 4;
|
||||
|
||||
// Fields defined as part of the protocol format.
|
||||
private long version;
|
||||
private final long version;
|
||||
private Sha256Hash prevBlockHash;
|
||||
private Sha256Hash merkleRoot, witnessRoot;
|
||||
private Instant time;
|
||||
|
|
Loading…
Add table
Reference in a new issue