[#770] pkg/morph: Add Morph()
method
Add access to low-level morph client in wrappers Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
4e5618aecb
commit
46df288d33
2 changed files with 10 additions and 0 deletions
|
@ -71,6 +71,11 @@ func NewStatic(client *Client, scriptHash util.Uint160, fee fixedn.Fixed8, opts
|
|||
}, nil
|
||||
}
|
||||
|
||||
// Morph return wrapped raw morph client.
|
||||
func (s StaticClient) Morph() *Client {
|
||||
return s.client
|
||||
}
|
||||
|
||||
// Invoke calls Invoke method of Client with static internal script hash and fee.
|
||||
// Supported args types are the same as in Client.
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue