From cadd3f31ea552ddb69a2a21408079a4475e3c29f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 9 Aug 2016 21:22:33 -0700 Subject: [PATCH] rpc: minor. --- lib/bcoin/http/rpc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bcoin/http/rpc.js b/lib/bcoin/http/rpc.js index 0d097a9a..083bbb9d 100644 --- a/lib/bcoin/http/rpc.js +++ b/lib/bcoin/http/rpc.js @@ -1017,7 +1017,7 @@ RPC.prototype.getmempoolinfo = function getmempoolinfo(args, callback) { bytes: this.mempool.size, usage: this.mempool.size, maxmempool: constants.mempool.MAX_MEMPOOL_SIZE, - mempoolminfee: this.mempool.minFeeRate / constants.COIN + mempoolminfee: +utils.btc(this.mempool.minFeeRate) }); }; @@ -1738,7 +1738,7 @@ RPC.prototype._signrawtransaction = function signrawtransaction(merged, txs, arg key.addr.sign(merged, key.key, null, type); } - this.node.wallet.sign(merged, { type: type }, function(err) { + this.wallet.sign(merged, { type: type }, function(err) { if (err) return callback(err);