rpc: mempool.

This commit is contained in:
Christopher Jeffrey 2016-08-15 19:08:53 -07:00
parent af585e2bbd
commit 31d2f36c42
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1116,10 +1116,10 @@ RPC.prototype.mempoolToJSON = function mempoolToJSON(verbose, callback) {
height: entry.height,
startingpriority: entry.priority,
currentpriority: entry.getPriority(self.chain.height),
descendantcount: 0,
descendantcount: self.mempool.countDescendants(tx),
descendantsize: entry.size,
descendantfees: entry.fees,
depends: []
depends: self.mempool.getDepends(tx)
};
}