From db33baf4c8f10d2b76d9d8907b7e32ec9af48a86 Mon Sep 17 00:00:00 2001 From: ququzone Date: Tue, 29 Oct 2024 10:25:39 +0800 Subject: [PATCH] fix contract instance bug --- cmd/sequencer/clients/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/sequencer/clients/manager.go b/cmd/sequencer/clients/manager.go index 2b66108..211460a 100644 --- a/cmd/sequencer/clients/manager.go +++ b/cmd/sequencer/clients/manager.go @@ -134,7 +134,7 @@ func (mgr *Manager) fetchFromContract(id string) (*Client, error) { if err := mgr.ioIDRegistryInstance.ReadResult("deviceTokenId", &ioID, address); err != nil { return nil, errors.Wrapf(err, "failed to read client device token id: %s %s", id, address.String()) } - if err := mgr.ioIDRegistryInstance.ReadResult("ownerOf", &owner, ioID); err != nil { + if err := mgr.ioIDInstance.ReadResult("ownerOf", &owner, ioID); err != nil { return nil, errors.Wrapf(err, "failed to read client ioID owner: %s %s", id, ioID.String()) }