template: set default commitment of zeroes.

This commit is contained in:
Christopher Jeffrey 2017-05-12 13:40:21 -07:00
parent a3b0d10c30
commit 93df5e7913
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -53,7 +53,7 @@ function BlockTemplate(options) {
this.interval = 210000;
this.fees = 0;
this.tree = new MerkleTree();
this.commitment = DUMMY;
this.commitment = encoding.ZERO_HASH;
this.left = DUMMY;
this.right = DUMMY;
this.items = [];