Skip to content

Commit

Permalink
height should be commit + 1
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin committed Oct 19, 2023
1 parent 1f826cb commit 13a95df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/versioncheck.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func VersionCheckCmd(scheme *runtime.Scheme) *cobra.Command {

store := rootmulti.NewStore(db, log.NewNopLogger(), nil)

height := store.LatestVersion()
height := store.LatestVersion() + 1
fmt.Printf("%d", height)

if crd.Status.Height == nil {
Expand Down

0 comments on commit 13a95df

Please sign in to comment.