diff --git a/server/tokenlogoinfo/Client.go b/server/tokenlogoinfo/Client.go index 4ef3eaa8..638988df 100644 --- a/server/tokenlogoinfo/Client.go +++ b/server/tokenlogoinfo/Client.go @@ -53,7 +53,7 @@ func InitClient(c Config) { apolloconfig.RegisterChangeHandler( "TokenLogoServiceConfig", &client.cfg, - apolloconfig.WithAfterFn(func(string, *storage.ConfigChange) { client.httpClient.Timeout = client.cfg.Timeout.Duration })) + apolloconfig.WithAfterFn(func(string, *storage.ConfigChange, any) { client.httpClient.Timeout = client.cfg.Timeout.Duration })) } func (c *Client) GetTokenLogoInfos(tokenAddArr []*tokenlogo.QueryLogoParam) (map[string]tokenlogo.LogoInfo, error) {