From 295e0d74bd14e88cc7f9539d3fc4da8d6d58bc32 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 10 Aug 2016 17:30:45 -0700 Subject: [PATCH] rpc: s/cost/weight/ --- lib/bcoin/http/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,