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

feat: Use SpendableCoin instead of full balance when querying gas token #64

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Jun 28, 2024

Related PR: Kava-Labs/kava#1957

Use SpendableCoin instead of full balance prevents insufficient balance errors when vesting accounts attempt to spend their locked coins.

Also used when setting balances in order to have the correct balance delta.

@drklee3 drklee3 requested a review from pirtleshell June 29, 2024 01:06
@drklee3 drklee3 merged commit 29f075c into main Jul 3, 2024
25 checks passed
@drklee3 drklee3 deleted the dl-spendable-balance branch July 3, 2024 17:28
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