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: set public position indexes in InitGenesis and fix minor issues #211

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

kingcre
Copy link
Contributor

@kingcre kingcre commented Sep 13, 2023

Description

This PR fixes missing Set~Index calls in x/liquidamm's InitGenesis. Also, check if amount is all positive when calling BankKeeper.SendCoins.

- call SendCoins only when amt is all positive
@kingcre kingcre self-assigned this Sep 13, 2023
@kingcre kingcre marked this pull request as ready for review September 13, 2023 07:34
@kingcre kingcre merged commit 8284117 into main Sep 13, 2023
17 checks passed
@kingcre kingcre deleted the fix/public-position-index branch September 14, 2023 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants