fix mempool fix, to allow adding transactions out of order.

This commit is contained in:
blackjok3r
2018-12-20 19:56:00 +08:00
parent 261dfbcead
commit f128d49d2f
2 changed files with 25 additions and 26 deletions

View File

@@ -639,10 +639,6 @@ UniValue getlastsegidstakes(const UniValue& params, bool fHelp)
for (int64_t i = chainActive.Height(); i > chainActive.Height()-depth; i--)
{
CBlockIndex* pblockindex = chainActive[i];
//if (fHavePruned && !(pblockindex->nStatus & BLOCK_HAVE_DATA) && pblockindex->nTx > 0)
// throw JSONRPCError(RPC_INTERNAL_ERROR, "Block not available (pruned data)");
if ( pblockindex->segid >= 0 )
segids[pblockindex->segid] += 1;
}