We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd58796 commit 4285affCopy full SHA for 4285aff
light-sdk-ts/src/wallet/user.ts
@@ -412,7 +412,7 @@ export class User {
412
});
413
return txParams;
414
} else if (action === Action.TRANSFER) {
415
- if (!shieldedRecipients)
+ if (!shieldedRecipients || shieldedRecipients.length === 0)
416
throw new Error("no recipient provided for unshield");
417
const { relayer, feeRecipient } = await this.getRelayer();
418
0 commit comments