We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4dc0139 + 65b19d8 commit d253c51Copy full SHA for d253c51
projects/canopy/index.js
@@ -153,7 +153,7 @@ module.exports = {
153
const asset_name = vault.asset_name;
154
155
// Handle Meridian LP tokens
156
- if (asset_name === "Meridian LP Token") {
+ if (asset_name === "Meridian LP Token" && balance !== '0') {
157
// Get the underlying assets in the pool
158
const poolAssetsMetadata = await function_view({
159
functionStr: `${meridianPkg}::pool::pool_assets_metadata`,
0 commit comments