rpcclient: Add missing return
Some checks failed
DCO action / DCO (pull_request) Failing after 1m21s
Tests / Tests (1.21) (pull_request) Successful in 2m6s
Tests / Tests (1.22) (pull_request) Successful in 2m13s

Introduced in #102.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-19 18:04:09 +03:00
parent ba7329c3a7
commit f99b6f634d

View file

@ -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.