diff --git a/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/auth/SolanaUserPdaImportService.java b/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/auth/SolanaUserPdaImportService.java index 9ae3e6e..53f65a7 100644 --- a/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/auth/SolanaUserPdaImportService.java +++ b/SHiNE-server/shine-server-net-protocol/src/main/java/server/logic/ws_protocol/JSON/handlers/auth/SolanaUserPdaImportService.java @@ -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); diff --git a/VERSION.properties b/VERSION.properties index 4045847..e1e5b1b 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.2.243 -server.version=1.2.228 +client.version=1.2.244 +server.version=1.2.229