[#1743] morph: Fix non-notary calls
Some methods add "IR" suffix to its names in notary enabled envs because of contract logic. It was broken due to incorrect notary state reading (tryNotary != notary is enabled). Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
e6cf0b3d42
commit
17059b34ea
3 changed files with 8 additions and 1 deletions
|
@ -34,7 +34,7 @@ type staticOpts struct {
|
|||
//
|
||||
// See also TryNotary.
|
||||
func (s *StaticClient) WithNotary() bool {
|
||||
return s.tryNotary
|
||||
return s.client.IsNotaryEnabled()
|
||||
}
|
||||
|
||||
// IsAlpha returns Alphabet status of the client.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue