rpc: minor.
This commit is contained in:
parent
cfee08d58e
commit
cadd3f31ea
@ -1017,7 +1017,7 @@ RPC.prototype.getmempoolinfo = function getmempoolinfo(args, callback) {
|
|||||||
bytes: this.mempool.size,
|
bytes: this.mempool.size,
|
||||||
usage: this.mempool.size,
|
usage: this.mempool.size,
|
||||||
maxmempool: constants.mempool.MAX_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);
|
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)
|
if (err)
|
||||||
return callback(err);
|
return callback(err);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user