We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 093891b + ac0e269 commit aea0d7dCopy full SHA for aea0d7d
1 file changed
modules/light-clients/attestations/light_client_module.go
@@ -51,10 +51,6 @@ func (l LightClientModule) Initialize(ctx sdk.Context, clientID string, clientSt
51
52
clientStore := l.storeProvider.ClientStore(ctx, clientID)
53
54
- if clientState.LatestHeight == 0 {
55
- return errorsmod.Wrap(clienttypes.ErrInvalidClient, "initial height must be non-zero")
56
- }
57
-
58
initialHeight := clienttypes.NewHeight(0, clientState.LatestHeight)
59
setConsensusState(clientStore, l.cdc, &consensusState, initialHeight)
60
setClientState(clientStore, l.cdc, &clientState)
0 commit comments