Skip to content

Commit

Permalink
godoc: update godoc of solomachine status method
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan authored May 7, 2024
1 parent eeb031b commit 5b22771
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/light-clients/06-solomachine/light_client_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,9 @@ func (l LightClientModule) VerifyNonMembership(

// Status returns the status of the solo machine client.
// The client may be:
// - Active: if frozen sequence is 0
// - Frozen: otherwise solo machine is frozen
// - Active: if `IsFrozen` is false.
// - Frozen: if `IsFrozen` is true.
// - Unknown: if the client state associated with the provided client identifier is not found.
//
// CONTRACT: clientID is validated in 02-client router, thus clientID is assumed here to have the format 06-solomachine-{n}.
func (l LightClientModule) Status(ctx sdk.Context, clientID string) exported.Status {
Expand Down

0 comments on commit 5b22771

Please sign in to comment.