Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept oid.Address into client.PrmObjectGet #404

Closed
roman-khimov opened this issue Apr 27, 2023 · 3 comments · Fixed by #408
Closed

Accept oid.Address into client.PrmObjectGet #404

roman-khimov opened this issue Apr 27, 2023 · 3 comments · Fixed by #408
Assignees
Labels
enhancement Improving existing functionality
Milestone

Comments

@roman-khimov
Copy link
Member

var getPrm client.PrmObjectGet
getPrm.FromContainer(addr.Container())
getPrm.ByID(addr.Object())

It could easily be getPrm.ByAddress(addr).

@roman-khimov roman-khimov added the enhancement Improving existing functionality label Apr 27, 2023
@roman-khimov roman-khimov added this to the v1.0.0-rc9 milestone Apr 27, 2023
@roman-khimov
Copy link
Member Author

Same thing with client.PrmObjectRange. Maybe in some other cases as well.

And client.PrmObjectRange could accept object.Range also.

@roman-khimov
Copy link
Member Author

client.PrmObjectHash

@roman-khimov
Copy link
Member Author

Related to nspcc-dev/neo-go#2995.

smallhive added a commit that referenced this issue May 4, 2023
…jectGet

close #404

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
smallhive added a commit that referenced this issue May 4, 2023
…jectGet

close #404

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
smallhive added a commit that referenced this issue May 5, 2023
…jectGet

close #404

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
smallhive added a commit that referenced this issue May 5, 2023
…jectGet

close #404

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
smallhive added a commit that referenced this issue May 5, 2023
…jectGet

close #404

Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants