File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
modules/core/02-client/keeper Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -76,16 +76,6 @@ func (k *Keeper) Route(clientID string) (exported.LightClientModule, bool) {
7676 return k .router .GetRoute (clientID )
7777}
7878
79- // UpdateLocalhostClient updates the 09-localhost client to the latest block height and chain ID.
80- func (k * Keeper ) UpdateLocalhostClient (ctx sdk.Context , clientState exported.ClientState ) []exported.Height {
81- clientModule , found := k .router .GetRoute (exported .LocalhostClientID )
82- if ! found {
83- panic (errorsmod .Wrap (types .ErrRouteNotFound , exported .LocalhostClientID ))
84- }
85-
86- return clientModule .UpdateState (ctx , exported .LocalhostClientID , nil )
87- }
88-
8979// SetConsensusHost sets a custom ConsensusHost for self client state and consensus state validation.
9080func (k * Keeper ) SetConsensusHost (consensusHost types.ConsensusHost ) {
9181 if consensusHost == nil {
You can’t perform that action at this time.
0 commit comments