mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-31 04:01:55 +00:00
rpc: fix SeenCommit condition
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user