AuthChallenge: поддержать RecoveryKeyBlock

This commit is contained in:
AidarKC
2026-06-23 17:04:47 +04:00
parent d2426c473c
commit f1c1132690
2 changed files with 5 additions and 3 deletions
@@ -167,7 +167,9 @@ public final class SolanaUserPdaImportService {
int blockVer = u8(raw, c++);
if (blockVer != 0) return null;
if (blockType == 1) {
if (blockType == 0) {
c += 32; // recovery_key
} else if (blockType == 1) {
c += 32;
} else if (blockType == 2) {
clientKey32 = slice(raw, c, 32);