Skip to content

Commit 5197832

Browse files
fixed wrong type in logging message
1 parent db5489a commit 5197832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gohpts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (p *proxyapp) getSocks() (proxy.Dialer, *http.Client, error) {
294294
}
295295
dialer, err = proxy.SOCKS5("tcp", pr.Address, &auth, dialer)
296296
if err != nil {
297-
p.logger.Error().Err(err).Msgf("[%s] Unable to create SOCKS5 dialer %s", &chainType, pr.Address)
297+
p.logger.Error().Err(err).Msgf("[%s] Unable to create SOCKS5 dialer %s", chainType, pr.Address)
298298
return nil, nil, err
299299
}
300300
}

0 commit comments

Comments
 (0)