Lower the other two amounts back to the old value

This commit is contained in:
Sky Young 2018-10-18 19:27:00 -06:00
parent 6fffcaef3d
commit 2cf4091bcc
2 changed files with 5 additions and 5 deletions

View File

@ -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).

View File

@ -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",