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

Add check for token amount on lock #1111

Merged
merged 3 commits into from
Jun 20, 2023
Merged

Add check for token amount on lock #1111

merged 3 commits into from
Jun 20, 2023

Conversation

febo
Copy link
Contributor

@febo febo commented Jun 7, 2023

This PR adds a check on the token account amount before allowing the account be locked/frozen. It also adds a test for locking an empty token account for Fungible asset type.

@febo febo requested a review from a team as a code owner June 7, 2023 10:19
@febo febo requested review from samuelvanderwaal and blockiosaurus and removed request for a team June 7, 2023 10:19
@febo febo merged commit 0c082d2 into master Jun 20, 2023
@febo febo deleted the febo/lock-with-amount branch June 20, 2023 23:49
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