rpc: minor.

This commit is contained in:
Christopher Jeffrey 2016-08-09 21:22:33 -07:00
parent cfee08d58e
commit cadd3f31ea
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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);