rpcclient: Add missing return
Introduced in #102. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
ba7329c3a7
commit
f99b6f634d
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func New(actor Actor, hash util.Uint160) *Contract {
|
||||||
|
|
||||||
// DeleteDomain invokes `deleteDomain` method of contract.
|
// DeleteDomain invokes `deleteDomain` method of contract.
|
||||||
func (c *ContractReader) DeleteDomain(name string) (*result.Invoke, error) {
|
func (c *ContractReader) DeleteDomain(name string) (*result.Invoke, error) {
|
||||||
c.invoker.Call(c.hash, "deleteDomain", name)
|
return c.invoker.Call(c.hash, "deleteDomain", name)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetPrice invokes `getPrice` method of contract.
|
// GetPrice invokes `getPrice` method of contract.
|
||||||
|
|
Loading…
Reference in a new issue