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

Further simplify funds validation during lock_tokens() #45

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

dusan-maksimovic
Copy link
Contributor

@dusan-maksimovic dusan-maksimovic commented Jul 16, 2024

  • must_pay() already checks if exactly one coin of specified denom was sent
  • also made error handling a bit more straight-forward

Copy link
Member

@p-offtermatt p-offtermatt left a comment

Choose a reason for hiding this comment

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

LGTM

@dusan-maksimovic dusan-maksimovic merged commit 8891e9d into main Jul 16, 2024
4 checks passed
@dusan-maksimovic dusan-maksimovic deleted the dusan/lock-token-check branch July 16, 2024 11:30
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.

2 participants