Skip to content

Commit

Permalink
Update cmd/zetacored/root.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Bertrand <[email protected]>
  • Loading branch information
kingpinXD and lumtis authored Oct 28, 2024
1 parent a7498df commit d5e14d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/zetacored/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ func (ac appCreator) appExport(
// If height is -1, it means we are using the latest height.
// For all other cases, we load the specified height from the Store
if height != -1 {
err := zetaApp.LoadHeight(height)
if err != nil {
if err := zetaApp.LoadHeight(height); err != nil {
return servertypes.ExportedApp{}, err
}
}
Expand Down

0 comments on commit d5e14d8

Please sign in to comment.