From 2cf4091bcc418104633a90b1de351a479258345c Mon Sep 17 00:00:00 2001 From: Sky Young Date: Thu, 18 Oct 2018 19:27:00 -0600 Subject: [PATCH] Lower the other two amounts back to the old value --- lib/mining/template.js | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/mining/template.js b/lib/mining/template.js index 882755dc..02d1b78e 100644 --- a/lib/mining/template.js +++ b/lib/mining/template.js @@ -293,8 +293,8 @@ BlockTemplate.prototype.createCoinbase = function createCoinbase(hash) { // Sigops cost = 4 // With segwit: // CB weight = 724 - // CB stripped size = 173 - // CB size = 209 + // CB stripped size = 172 + // CB size = 208 // Sigops cost = 4 if (!this.witness) { assert.strictEqual(cb.getWeight() + padding * scale, 504); @@ -302,8 +302,8 @@ BlockTemplate.prototype.createCoinbase = function createCoinbase(hash) { assert.strictEqual(cb.getSize() + padding, 126); } else { assert.strictEqual(cb.getWeight() + padding * scale, 724); - assert.strictEqual(cb.getBaseSize() + padding, 173); - assert.strictEqual(cb.getSize() + padding, 209); + assert.strictEqual(cb.getBaseSize() + padding, 172); + assert.strictEqual(cb.getSize() + padding, 208); } // Setup coinbase flags (variable size). diff --git a/package.json b/package.json index 416d4d46..38dd6fe0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fcoin", - "version": "1.0.0-beta.26", + "version": "1.0.0-beta.28", "description": "Flo bike-shed", "license": "MIT", "repository": "git://github.com/oipwg/fcoin.git",