Skip to content

Commit

Permalink
Update txmempool.cpp
Browse files Browse the repository at this point in the history
sort will core when  getmempool called
  • Loading branch information
lialvin authored Jan 9, 2018
1 parent 3636457 commit 5baed79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ CTxMemPool::GetSortedDepthAndScore() const {
mi != mapTx.end(); ++mi) {
iters.push_back(mi);
}
std::sort(iters.begin(), iters.end(), DepthAndScoreComparator());
//std::sort(iters.begin(), iters.end(), DepthAndScoreComparator());
return iters;
}

Expand Down

0 comments on commit 5baed79

Please sign in to comment.