From d5e14d828360c39e77559cedfe13d5e2c6170c00 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Mon, 28 Oct 2024 17:16:57 -0400 Subject: [PATCH] Update cmd/zetacored/root.go Co-authored-by: Lucas Bertrand --- cmd/zetacored/root.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/zetacored/root.go b/cmd/zetacored/root.go index a78c7aee9e..a72d4a0cf6 100644 --- a/cmd/zetacored/root.go +++ b/cmd/zetacored/root.go @@ -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 } }