Lower the other two amounts back to the old value
This commit is contained in:
parent
6fffcaef3d
commit
2cf4091bcc
@ -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).
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user