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 23d2ee3 + 6d83db2 commit 59f0d78Copy full SHA for 59f0d78
packages/raydium/src/raydiumVault.ts
@@ -177,7 +177,7 @@ export async function claim(
177
}
178
179
180
- if (!poolInfo || !poolInfo.lpMint) {
+ if (!poolInfo || !poolInfo.lpMint || !poolInfo.lpMint?.address || !poolInfo.mintA || !poolInfo.mintB ) {
181
poolInfo = (await raydium.api.fetchPoolById({ ids: poolId.toString() }))[0];
182
if (!poolInfo) {
183
throw new Error("Pool info not found");
0 commit comments