Update chain rollback log message

This commit is contained in:
Lee Clagett 2024-02-24 19:50:23 -05:00 committed by Lee *!* Clagett
parent ec70d23944
commit 6fa40a2a94

View file

@ -1455,7 +1455,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};
}