From f99b6f634d6ef05715760b2dd0553d7fa359d252 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 19 Aug 2024 18:04:09 +0300 Subject: [PATCH] rpcclient: Add missing return Introduced in #102. Signed-off-by: Evgenii Stratonikov --- rpcclient/nns/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcclient/nns/client.go b/rpcclient/nns/client.go index 80bf39b..64c4a5b 100644 --- a/rpcclient/nns/client.go +++ b/rpcclient/nns/client.go @@ -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.