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

fix: remove receiver approval #1020

Merged
merged 1 commit into from
May 26, 2023

Conversation

hanakannzashi
Copy link
Contributor

We should remove any approvals receiver already set.

Copy link
Collaborator

@frol frol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hanakannzashi Thanks for catching it!

Copy link
Member

@ChaoticTempest ChaoticTempest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: the NFT tests don't seem to be a part of the GH actions pipeline but ran it locally and everything seems to be working fine. I'm surprised we haven't ran into this issue more but probably because nft_resolve_transfer always gets passed a approved_account_ids which overrides that token_id key anyways.

Thanks for noticing this edge case!

@frol frol merged commit 3f2beb4 into near:master May 26, 2023
@hanakannzashi hanakannzashi deleted the fix/remove_receiver_approval branch August 24, 2023 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants