-const in CBlockIndexWorkComparator

https://github.com/jl777/komodo/issues/1606
This commit is contained in:
jl777
2019-07-11 13:55:33 -11:00
parent 71e80ccf28
commit 04710fdf01

View File

@@ -147,7 +147,7 @@ namespace {
struct CBlockIndexWorkComparator
{
bool operator()(const CBlockIndex *pa, const CBlockIndex *pb) const {
bool operator()(CBlockIndex *pa, const CBlockIndex *pb) const {
// First sort by most total work, ...
if (ASSETCHAINS_LWMAPOS) {