diff --git a/lib/bcoin/http/rpc.js b/lib/bcoin/http/rpc.js index b137c431..866e80dc 100644 --- a/lib/bcoin/http/rpc.js +++ b/lib/bcoin/http/rpc.js @@ -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) }; }