Skip to content

Commit 6505866

Browse files
committed
fix(aw): fix non-sol eddsa recovery validation
Ticket: WP-5454
1 parent b9a0d1d commit 6505866

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/master/handlers/recoveryWallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function validateRecoveryParams(
7070
return;
7171
}
7272

73-
if (isEddsaCoin(sdkCoin)) {
73+
if (isEddsaCoin(sdkCoin) && sdkCoin.getFamily() === CoinFamily.SOL) {
7474
// EdDSA coins (like Solana) need solanaRecoveryOptions for standard recovery
7575
if (!params.solanaRecoveryOptions) {
7676
throw new ValidationError('Solana recovery options are required for EdDSA coin recovery');

0 commit comments

Comments
 (0)