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

View File

@ -167,7 +167,9 @@ public final class SolanaUserPdaImportService {
int blockVer = u8(raw, c++); int blockVer = u8(raw, c++);
if (blockVer != 0) return null; if (blockVer != 0) return null;
if (blockType == 1) { if (blockType == 0) {
c += 32; // recovery_key
} else if (blockType == 1) {
c += 32; c += 32;
} else if (blockType == 2) { } else if (blockType == 2) {
clientKey32 = slice(raw, c, 32); clientKey32 = slice(raw, c, 32);

View File

@ -1,2 +1,2 @@
client.version=1.2.243 client.version=1.2.244
server.version=1.2.228 server.version=1.2.229