Skip to content

Commit

Permalink
Update modules/light-clients/06-solomachine/update.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
damiannolan and coderabbitai[bot] committed May 15, 2024
1 parent 9ba7b4a commit 9076ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/light-clients/06-solomachine/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (cs ClientState) verifyHeader(cdc codec.BinaryCodec, header *Header) error

// UpdateState updates the consensus state to the new public key and an incremented sequence.
// A list containing the updated consensus height is returned.
// If the provided clientMsg is not of type of Header then the handler will noop and an empty slice is returned.
// If the provided clientMsg is not of type Header, the handler will no-op and return an empty slice.
func (cs ClientState) UpdateState(ctx sdk.Context, cdc codec.BinaryCodec, clientStore storetypes.KVStore, clientMsg exported.ClientMessage) []exported.Height {
smHeader, ok := clientMsg.(*Header)
if !ok {
Expand Down

0 comments on commit 9076ded

Please sign in to comment.