fix: verify block update

This commit is contained in:
Djuri Baars 2025-01-05 22:12:39 +01:00
parent a6a8b5a071
commit b435552c92
No known key found for this signature in database
GPG Key ID: 61B9B2DDE5AA3AC1

View File

@ -181,7 +181,7 @@ void onWebsocketBlockMessage(esp_websocket_event_data_t *event_data)
}
void processNewBlock(uint32_t newBlockHeight) {
if (currentBlockHeight == newBlockHeight)
if (currentBlockHeight <= newBlockHeight)
{
return;
}