From 02bb45dded6077567884a1bc13febe125595f968 Mon Sep 17 00:00:00 2001 From: Rithvik Vibhu Date: Fri, 25 Aug 2023 22:53:52 +0530 Subject: [PATCH] miner: default block version to chain calculated reverts 5e20a5a which was meant to be temporary --- lib/mining/miner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mining/miner.js b/lib/mining/miner.js index daa067ee..9a8913c7 100644 --- a/lib/mining/miner.js +++ b/lib/mining/miner.js @@ -469,7 +469,7 @@ class MinerOptions { this.chain = null; this.mempool = null; - this.version = 0; + this.version = -1; this.addresses = []; this.coinbaseFlags = Buffer.from(`mined by ${pkg.name}`, 'ascii'); this.preverify = false;