[#243] services/object: Share common parameters across services
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a01262d8bd
commit
fb50362dcc
12 changed files with 89 additions and 163 deletions
|
@ -96,11 +96,11 @@ func (exec execCtx) address() *objectSDK.Address {
|
|||
}
|
||||
|
||||
func (exec execCtx) key() *ecdsa.PrivateKey {
|
||||
return exec.prm.key
|
||||
return exec.prm.common.PrivateKey()
|
||||
}
|
||||
|
||||
func (exec execCtx) callOptions() []client.CallOption {
|
||||
return exec.prm.callOpts
|
||||
return exec.prm.common.RemoteCallOptions()
|
||||
}
|
||||
|
||||
func (exec execCtx) remotePrm() *client.GetObjectParams {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue