Переписать shine_users и shine_login_guard на чистый Rust

This commit is contained in:
AidarKC
2026-06-04 23:05:45 +04:00
parent 60049442f1
commit 832eea5889
17 changed files with 1355 additions and 1621 deletions
@@ -190,7 +190,7 @@ public final class SolanaUserPdaImportService {
int n = u8(raw, c++);
c += n;
}
} else if (blockType == 55) {
} else if (blockType == 50) {
int sessionsMode = u8(raw, c++);
if (sessionsMode != 1 && sessionsMode != 10) return null;
int sessionsCount = u8(raw, c++);
@@ -202,7 +202,7 @@ public final class SolanaUserPdaImportService {
c += n;
c += 32; // session_pub_key
}
} else if (blockType == 50) {
} else if (blockType == 70) {
c += 1;
} else {
return null;