mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-04-02 20:09:03 +00:00
Fix comparison check
This commit is contained in:
parent
706ca91814
commit
4ad15cdb86
1 changed files with 1 additions and 1 deletions
|
@ -1453,7 +1453,7 @@ namespace db
|
|||
|
||||
if (*hash != chain.front())
|
||||
{
|
||||
if (current < get_checkpoints().get_max_height())
|
||||
if (current <= get_checkpoints().get_max_height())
|
||||
{
|
||||
MERROR("Attempting rollback past last checkpoint; invalid daemon chain response");
|
||||
return {lws::error::bad_blockchain};
|
||||
|
|
Loading…
Reference in a new issue