Skip to content

Commit 188f192

Browse files
authored
Merge pull request #98 from BitGo/WP-5454-fix-eddsa-recovery-validation
fix(aw): fix non-sol eddsa recovery validation
2 parents b9a0d1d + 5b002fa commit 188f192

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)