From 93df5e79133a1f0ef532f5e09a30af55aa6f19da Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 12 May 2017 13:40:21 -0700 Subject: [PATCH] template: set default commitment of zeroes. --- lib/mining/template.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mining/template.js b/lib/mining/template.js index b259a969..91c97155 100644 --- a/lib/mining/template.js +++ b/lib/mining/template.js @@ -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 = [];