Update chain rollback log message (#98)

This commit is contained in:
Lee *!* Clagett 2024-03-31 13:31:56 -04:00 committed by Lee *!* Clagett
parent f66943dce1
commit 486ad3b616

View file

@ -1710,7 +1710,9 @@ namespace db
{
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};
}