Skip to content

Commit

Permalink
-const in CBlockIndexWorkComparator
Browse files Browse the repository at this point in the history
  • Loading branch information
jl777 committed Jul 12, 2019
1 parent 71e80cc commit 04710fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 04710fd

Please sign in to comment.