Switching to standard name

This commit is contained in:
Nelson R. Perez 2016-12-08 17:25:13 -05:00
parent e6c53b074e
commit 1f60b72c7b
2 changed files with 2 additions and 4 deletions

View file

@ -15,5 +15,5 @@ public class RPC {
public static final String CALL_GET_ACCOUNTS = "get_accounts";
public static final String CALL_GET_KEY_REFERENCES = "get_key_references";
public static final String CALL_GET_RELATIVE_ACCOUNT_HISTORY = "get_relative_account_history";
public static final String LOOKUP_ACCOUNTS = "lookup_accounts";
public static final String CALL_LOOKUP_ACCOUNTS = "lookup_accounts";
}

View file

@ -1,8 +1,6 @@
package com.luminiasoft.bitshares.ws;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.reflect.TypeToken;
import com.luminiasoft.bitshares.RPC;
import com.luminiasoft.bitshares.UserAccount;
@ -48,7 +46,7 @@ public class LookupAccounts extends WebSocketAdapter {
ArrayList<Serializable> accountParams = new ArrayList<>();
accountParams.add(this.accountName);
accountParams.add(this.maxAccounts);
ApiCall getAccountByName = new ApiCall(0, RPC.LOOKUP_ACCOUNTS, accountParams, RPC.VERSION, 1);
ApiCall getAccountByName = new ApiCall(0, RPC.CALL_LOOKUP_ACCOUNTS, accountParams, RPC.VERSION, 1);
websocket.sendText(getAccountByName.toJsonString());
}