[#607] network: Rename Address.HostAddrString method to HostAddr

Return tyype is clear from the method's signature and docs, there is no
point in reflecting it in the name.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-06-16 14:12:03 +03:00 committed by Leonard Lyubich
parent 35f81729e4
commit 47fe8911a3
6 changed files with 10 additions and 10 deletions

View file

@ -258,7 +258,7 @@ func getSDKClient(key *ecdsa.PrivateKey) (client.Client, error) {
}
options := []client.Option{
client.WithAddress(netAddr.HostAddrString()),
client.WithAddress(netAddr.HostAddr()),
client.WithDefaultPrivateKey(key),
}