diff --git a/rpc/core/blocks.go b/rpc/core/blocks.go index 5006f8973..65e47d125 100644 --- a/rpc/core/blocks.go +++ b/rpc/core/blocks.go @@ -60,7 +60,7 @@ func Commit(height int) (*ctypes.ResultCommit, error) { // If the next block has not been committed yet, // use a non-canonical commit - if height == storeHeight+1 { + if height == storeHeight { commit := blockStore.LoadSeenCommit(height) return &ctypes.ResultCommit{header, commit, false}, nil }