[#104] rpcclient: Add missing return
All checks were successful
DCO action / DCO (pull_request) Successful in 1m33s
Tests / Tests (1.21) (pull_request) Successful in 1m52s
Tests / Tests (1.22) (pull_request) Successful in 1m53s

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 35b048fdfa

View file

@ -62,7 +62,7 @@ func New(actor Actor, hash util.Uint160) *Contract {
// DeleteDomain invokes `deleteDomain` method of contract.
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.