Skip to content

Commit

Permalink
Refactor CheckEvm call
Browse files Browse the repository at this point in the history
Co-authored-by: Ha DANG  <[email protected]>
  • Loading branch information
uprendis and hadv authored Jul 27, 2022
1 parent 4eaf04f commit 9691899
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/opera/launcher/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ func checkEvm(ctx *cli.Context) error {
})
}

err := evms.CheckEvm(checkBlocks)
if err != nil {
if err := evms.CheckEvm(checkBlocks); err != nil {
return err
}
log.Info("EVM storage is verified", "last", prevPoint, "elapsed", common.PrettyDuration(time.Since(start)))
Expand Down

0 comments on commit 9691899

Please sign in to comment.