Skip to content

Commit

Permalink
fix contract instance bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ququzone committed Oct 29, 2024
1 parent f5a10f5 commit db33baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sequencer/clients/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit db33baf

Please sign in to comment.