Skip to content

Commit 5e4aa31

Browse files
committed
some comments from the review
1 parent 21492c1 commit 5e4aa31

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.

types/hashing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func SetHeaderHasher(hasher HeaderHasher) {
2222
func (h *Header) Hash() Hash {
2323
hash, err := DefaultHeaderHasher(h)
2424
if err != nil {
25-
// For backward compatibility, return nil on error
25+
// For backward compatibility with go-header
2626
// In the future, this method signature could be changed to return (Hash, error)
2727
return nil
2828
}

types/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
// The Consensus.App version will be set during the Handshake, once
1313
// we hear from the app what protocol version it is running.
1414
var InitStateVersion = Version{
15-
Block: 11,
15+
Block: 11, // this is needed for IBC compatibility
1616
App: 0,
1717
}
1818

0 commit comments

Comments
 (0)