From 9076ded9102d2f8ce2e6e8fc30d8adbcb354e642 Mon Sep 17 00:00:00 2001 From: Damian Nolan Date: Wed, 15 May 2024 12:20:47 +0200 Subject: [PATCH] Update modules/light-clients/06-solomachine/update.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- modules/light-clients/06-solomachine/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/light-clients/06-solomachine/update.go b/modules/light-clients/06-solomachine/update.go index 813a6a9ebda..53e4ef26ea2 100644 --- a/modules/light-clients/06-solomachine/update.go +++ b/modules/light-clients/06-solomachine/update.go @@ -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 {