Skip to content

Commit 334b678

Browse files
committed
make linter happy
Signed-off-by: Igor Braga <5835477+bragaigor@users.noreply.github.com>
1 parent bced740 commit 334b678

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

execution/gethexec/sync_monitor.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,10 @@ func (s *SyncMonitor) SetFinalityData(
294294

295295
if executionDB != nil && finalizedBlockHeader != nil {
296296
finalizedBlockHash := finalizedBlockHeader.Hash()
297-
executionDB.Put(ValidatedBlockHashKey, finalizedBlockHash.Bytes())
297+
err := executionDB.Put(ValidatedBlockHashKey, finalizedBlockHash.Bytes())
298+
if err != nil {
299+
return err
300+
}
298301
}
299302

300303
safeBlockHeader, err := s.getFinalityBlockHeader(

0 commit comments

Comments
 (0)