Переименовал везде loginKey в solanaKey
This commit is contained in:
AidarKC
2026-01-08 14:44:47 +03:00
parent a218f6586d
commit 1ea5390771
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ public final class TestConfig {
public static String BCH_NAME2() { return getBlockchainName(LOGIN2()); }
public static String BCH_NAME3() { return getBlockchainName(LOGIN3()); }
/** loginKey для AddUser: по твоему решению = blockchain pubkey. */
/** solanaKey для AddUser: по твоему решению = blockchain pubkey. */
public static String LOGIN_PUBKEY_B64() { return blockchainPublicKeyB64(LOGIN()); }
public static String LOGIN2_PUBKEY_B64() { return blockchainPublicKeyB64(LOGIN2()); }
public static String LOGIN3_PUBKEY_B64() { return blockchainPublicKeyB64(LOGIN3()); }
@@ -16,7 +16,7 @@ public final class JsonBuilders {
public static String addUser(String login) {
String requestId = TestIds.next("adduser");
String blockchainName = TestConfig.getBlockchainName(login);
String loginKeyB64 = TestConfig.blockchainPublicKeyB64(login); // loginKey = blockchain pub
String solanaKeyB64 = TestConfig.blockchainPublicKeyB64(login); // solanaKey = blockchain pub
String deviceKeyB64 = TestConfig.devicePublicKeyB64(login);
return """
{
@@ -25,12 +25,12 @@ public final class JsonBuilders {
"payload": {
"login": "%s",
"blockchainName": "%s",
"loginKey": "%s",
"solanaKey": "%s",
"deviceKey": "%s",
"bchLimit": %d
}
}
""".formatted(requestId, login, blockchainName, loginKeyB64, deviceKeyB64, TestConfig.TEST_BCH_LIMIT);
""".formatted(requestId, login, blockchainName, solanaKeyB64, deviceKeyB64, TestConfig.TEST_BCH_LIMIT);
}
// ---------------- AuthChallenge ----------------