forked from TrueCloudLab/frostfs-node
[#627] morph: Add contract address getter to StaticClient
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e558cdd9dd
commit
6ce30c959c
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ func (s StaticClient) TestInvoke(method string, args ...interface{}) ([]stackite
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ContractAddress returns the address of the associated contract.
|
||||||
|
func (s StaticClient) ContractAddress() util.Uint160 {
|
||||||
|
return s.scScriptHash
|
||||||
|
}
|
||||||
|
|
||||||
// TryNotary returns option to enable
|
// TryNotary returns option to enable
|
||||||
// notary invocation tries.
|
// notary invocation tries.
|
||||||
func TryNotary() StaticClientOption {
|
func TryNotary() StaticClientOption {
|
||||||
|
|
Loading…
Reference in a new issue