Skip to content

Commit

Permalink
use loadlatest flag for loading app for height
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Oct 28, 2024
1 parent d5e14d8 commit 6f8638e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/zetacored/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,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 {
if !loadLatest {
if err := zetaApp.LoadHeight(height); err != nil {
return servertypes.ExportedApp{}, err
}
Expand Down

0 comments on commit 6f8638e

Please sign in to comment.