diff --git a/lib/bcoin/http/rpc.js b/lib/bcoin/http/rpc.js index 9cb9002f..c4665db9 100644 --- a/lib/bcoin/http/rpc.js +++ b/lib/bcoin/http/rpc.js @@ -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,