[#1522] adm/helper: Rename GetN3Client() -> NewRemoteClient()

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-11-22 10:53:09 +03:00 committed by Evgenii Stratonikov
parent 49959c4166
commit a6ef4ab524
12 changed files with 15 additions and 15 deletions

View file

@ -191,7 +191,7 @@ func createClient(cmd *cobra.Command, v *viper.Viper, wallets []*wallet.Wallet)
}
c, err = NewLocalClient(cmd, v, wallets, ldf.Value.String())
} else {
c, err = GetN3Client(v)
c, err = NewRemoteClient(v)
}
if err != nil {
return nil, fmt.Errorf("can't create N3 client: %w", err)