Drop size down 4 bytes

This commit is contained in:
Sky Young 2018-10-18 18:57:16 -06:00
parent 0b15b43564
commit 6fffcaef3d
2 changed files with 3 additions and 3 deletions

View File

@ -292,7 +292,7 @@ BlockTemplate.prototype.createCoinbase = function createCoinbase(hash) {
// CB size = 126
// Sigops cost = 4
// With segwit:
// CB weight = 728
// CB weight = 724
// CB stripped size = 173
// CB size = 209
// Sigops cost = 4
@ -301,7 +301,7 @@ BlockTemplate.prototype.createCoinbase = function createCoinbase(hash) {
assert.strictEqual(cb.getBaseSize() + padding, 126);
assert.strictEqual(cb.getSize() + padding, 126);
} else {
assert.strictEqual(cb.getWeight() + padding * scale, 728);
assert.strictEqual(cb.getWeight() + padding * scale, 724);
assert.strictEqual(cb.getBaseSize() + padding, 173);
assert.strictEqual(cb.getSize() + padding, 209);
}

View File

@ -1,6 +1,6 @@
{
"name": "fcoin",
"version": "1.0.0-beta.25",
"version": "1.0.0-beta.26",
"description": "Flo bike-shed",
"license": "MIT",
"repository": "git://github.com/oipwg/fcoin.git",