[#1615] morph: Fix the switch comment message

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-08-16 17:29:09 +03:00 committed by fyrchik
parent 713fdab177
commit 7c0aa69d11

View file

@ -33,7 +33,6 @@ func (c *Client) switchRPC() bool {
c.client.Close()
// Iterate endpoints in the order of decreasing priority.
// Skip the current endpoint.
for c.endpoints.curr = range c.endpoints.list {
newEndpoint := c.endpoints.list[c.endpoints.curr].Address
cli, act, gas, err := c.newCli(newEndpoint)