template: set default commitment of zeroes.
This commit is contained in:
parent
a3b0d10c30
commit
93df5e7913
@ -53,7 +53,7 @@ function BlockTemplate(options) {
|
|||||||
this.interval = 210000;
|
this.interval = 210000;
|
||||||
this.fees = 0;
|
this.fees = 0;
|
||||||
this.tree = new MerkleTree();
|
this.tree = new MerkleTree();
|
||||||
this.commitment = DUMMY;
|
this.commitment = encoding.ZERO_HASH;
|
||||||
this.left = DUMMY;
|
this.left = DUMMY;
|
||||||
this.right = DUMMY;
|
this.right = DUMMY;
|
||||||
this.items = [];
|
this.items = [];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user