rpc: s/cost/weight/
This commit is contained in:
parent
1b3233e948
commit
295e0d74bd
@ -1314,7 +1314,7 @@ RPC.prototype.getblocktemplate = function getblocktemplate(args, callback) {
|
|||||||
noncerange: '00000000ffffffff',
|
noncerange: '00000000ffffffff',
|
||||||
sigoplimit: constants.block.MAX_SIGOPS_COST,
|
sigoplimit: constants.block.MAX_SIGOPS_COST,
|
||||||
sizelimit: constants.block.MAX_SIZE,
|
sizelimit: constants.block.MAX_SIZE,
|
||||||
costlimit: constants.block.MAX_COST,
|
weightlimit: constants.block.MAX_COST,
|
||||||
curtime: block.ts,
|
curtime: block.ts,
|
||||||
bits: String(block.bits),
|
bits: String(block.bits),
|
||||||
height: attempt.height,
|
height: attempt.height,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user