Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zacshowa committed Jul 10, 2024
1 parent 01f1cdb commit 966f22c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cmd/replay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,11 +325,9 @@ func main() {
espressocrypto.VerifyNamespace(chainConfig.ChainID.Uint64(), *jst.Proof, *jst.Header.PayloadCommitment, *jst.Header.NsTable, txs, *jst.VidCommon)
}

} else {
// Call the error case closure returned by handleEspressoPreconditions()
if panicHandler != nil {
panicHandler()
}
} else if panicHandler != nil {
// Call the error case closure returned by handleEspressoPreconditions() if it isn't nil
panicHandler()
}

newBlock, _, err = arbos.ProduceBlock(message.Message, message.DelayedMessagesRead, lastBlockHeader, statedb, chainContext, chainConfig, batchFetcher, false)
Expand Down

0 comments on commit 966f22c

Please sign in to comment.