forked from TrueCloudLab/frostfs-node
[#584] pkg/innerring: Delete using deprecated methods
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
057ebf9d51
commit
752efc6f8c
12 changed files with 2 additions and 134 deletions
|
@ -96,20 +96,3 @@ func (s StaticClient) TestInvoke(method string, args ...interface{}) ([]stackite
|
|||
args...,
|
||||
)
|
||||
}
|
||||
|
||||
// NotaryInvoke calls NotaryInvoke method of Client with static internal
|
||||
// script hash. Panics if notary support was not enabled in underlying
|
||||
// morph client.
|
||||
//
|
||||
// Deprecated: provide TryNotary() option to NewStatic and use Invoke.
|
||||
func (s StaticClient) NotaryInvoke(method string, args ...interface{}) error {
|
||||
if s.client.notary == nil {
|
||||
panic(notaryNotEnabledPanicMsg)
|
||||
}
|
||||
return s.client.notaryInvoke(
|
||||
false,
|
||||
s.scScriptHash,
|
||||
method,
|
||||
args...,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue