Skip to content

Commit 59f0d78

Browse files
authored
Merge pull request #512 from elizaOS/develop
dev into main
2 parents 23d2ee3 + 6d83db2 commit 59f0d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/raydium/src/raydiumVault.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export async function claim(
177177
}
178178
}
179179

180-
if (!poolInfo || !poolInfo.lpMint) {
180+
if (!poolInfo || !poolInfo.lpMint || !poolInfo.lpMint?.address || !poolInfo.mintA || !poolInfo.mintB ) {
181181
poolInfo = (await raydium.api.fetchPoolById({ ids: poolId.toString() }))[0];
182182
if (!poolInfo) {
183183
throw new Error("Pool info not found");

0 commit comments

Comments
 (0)