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) {
76
76
return k .router .GetRoute (clientID )
77
77
}
78
78
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
-
89
79
// SetConsensusHost sets a custom ConsensusHost for self client state and consensus state validation.
90
80
func (k * Keeper ) SetConsensusHost (consensusHost types.ConsensusHost ) {
91
81
if consensusHost == nil {
You can’t perform that action at this time.
0 commit comments