[#1101] *: Adopt interface changes of API client from SDK library
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
674f520da7
commit
4f3323f084
14 changed files with 94 additions and 246 deletions
|
@ -303,7 +303,6 @@ func getEndpointAddress(endpointFlag string) (addr network.Address, err error) {
|
|||
|
||||
type clientWithKey interface {
|
||||
SetClient(*client.Client)
|
||||
SetKey(*ecdsa.PrivateKey)
|
||||
}
|
||||
|
||||
// reads private key from command args and call prepareAPIClientWithKey with it.
|
||||
|
@ -321,7 +320,6 @@ func prepareAPIClientWithKey(cmd *cobra.Command, key *ecdsa.PrivateKey, dst ...c
|
|||
|
||||
for _, d := range dst {
|
||||
d.SetClient(cli)
|
||||
d.SetKey(key)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue