good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 80c562bd authored by Giulio Rebuffo's avatar Giulio Rebuffo Committed by GitHub
Browse files

0x00... hash resistant (#4186)

parent 12829209
No related branches found
No related tags found
No related merge requests found
......@@ -205,7 +205,7 @@ func safeAndFinalizedBlocksAreCanonical(
if err != nil {
return false, err
}
if !safeIsCanonical {
if (!safeIsCanonical && forkChoice.SafeBlockHash != common.Hash{}) {
log.Warn(fmt.Sprintf("[%s] Non-canonical SafeBlockHash", s.LogPrefix()), "forkChoice", forkChoice)
if sendErrResponse {
cfg.hd.PayloadStatusCh <- privateapi.PayloadStatus{
......@@ -219,7 +219,7 @@ func safeAndFinalizedBlocksAreCanonical(
if err != nil {
return false, err
}
if !finalizedIsCanonical {
if (!finalizedIsCanonical && forkChoice.FinalizedBlockHash != common.Hash{}) {
log.Warn(fmt.Sprintf("[%s] Non-canonical FinalizedBlockHash", s.LogPrefix()), "forkChoice", forkChoice)
if sendErrResponse {
cfg.hd.PayloadStatusCh <- privateapi.PayloadStatus{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment