Drop size down 4 bytes
This commit is contained in:
parent
0b15b43564
commit
6fffcaef3d
@ -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);
|
||||
}
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user