Skip to content

Commit

Permalink
Merge pull request #17 from ququzone/main
Browse files Browse the repository at this point in the history
fix contract instance bug
  • Loading branch information
huangzhiran authored Oct 29, 2024
2 parents ce20ad4 + db33baf commit 3487606
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 3487606

Please sign in to comment.