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

update hasPoolAsset return condition #946

Merged
merged 1 commit into from
Nov 1, 2022
Merged

Conversation

gnujoow
Copy link
Contributor

@gnujoow gnujoow commented Nov 1, 2022

poolAssets is defined as WeightedPool.poolAssets which is an array of objects. from the definition of Array.prototype.find() , .find returns undefined if there is no matched element from the given array.

@vercel
Copy link

vercel bot commented Nov 1, 2022

@gnujoow is attempting to deploy a commit to the OsmoLabs Team on Vercel.

A member of the Team first needs to authorize it.

@gnujoow gnujoow changed the title update hasPoolAsset logic update hasPoolAsset return condition Nov 1, 2022
@jonator jonator merged commit 5bce49f into osmosis-labs:master Nov 1, 2022
@gnujoow gnujoow deleted the patch-1 branch November 1, 2022 14:54
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