diff --git a/packages/distributor/solana/client.ts b/packages/distributor/solana/client.ts index 60e6cf68..f5ddd445 100644 --- a/packages/distributor/solana/client.ts +++ b/packages/distributor/solana/client.ts @@ -180,7 +180,9 @@ export default class SolanaDistributorClient { ixs.push(newClaim(args, accounts, this.programId)); } - ixs.push(claimLocked(accounts, this.programId)); + if (data.amountLocked.gtn(0)) { + ixs.push(claimLocked(accounts, this.programId)); + } const { tx, hash } = await prepareTransaction(this.connection, ixs, invoker.publicKey); const signature = await wrappedSignAndExecuteTransaction(this.connection, invoker, tx, hash);