mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-11-16 17:27:39 +00:00
Update chain rollback log message (#98)
This commit is contained in:
parent
e7db291669
commit
cdc21aa232
1 changed files with 3 additions and 1 deletions
|
@ -1710,7 +1710,9 @@ namespace db
|
||||||
{
|
{
|
||||||
if (current <= get_checkpoints().get_max_height())
|
if (current <= get_checkpoints().get_max_height())
|
||||||
{
|
{
|
||||||
MERROR("Attempting rollback past last checkpoint; invalid daemon chain response");
|
/* Either the daemon is performing an attack with a fake chain, or
|
||||||
|
the daemon is still syncing. */
|
||||||
|
MERROR("Attempting rollback past last checkpoint. Wait until daemon finishes syncing - otherwise daemon is performing an attack.");
|
||||||
return {lws::error::bad_blockchain};
|
return {lws::error::bad_blockchain};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue