rpc: s/cost/weight/

This commit is contained in:
Christopher Jeffrey 2016-08-10 17:30:45 -07:00
parent 1b3233e948
commit 295e0d74bd
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1314,7 +1314,7 @@ RPC.prototype.getblocktemplate = function getblocktemplate(args, callback) {
noncerange: '00000000ffffffff',
sigoplimit: constants.block.MAX_SIGOPS_COST,
sizelimit: constants.block.MAX_SIZE,
costlimit: constants.block.MAX_COST,
weightlimit: constants.block.MAX_COST,
curtime: block.ts,
bits: String(block.bits),
height: attempt.height,