-const in CBlockIndexWorkComparator
https://github.com/jl777/komodo/issues/1606
This commit is contained in:
@@ -147,7 +147,7 @@ namespace {
|
|||||||
|
|
||||||
struct CBlockIndexWorkComparator
|
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, ...
|
// First sort by most total work, ...
|
||||||
|
|
||||||
if (ASSETCHAINS_LWMAPOS) {
|
if (ASSETCHAINS_LWMAPOS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user