Api generator pointing to the testnet server

master
henry 2017-11-30 22:49:44 -04:00
parent a541a70c1a
commit 7e4bc22fb3
2 changed files with 6 additions and 5 deletions

View File

@ -57,10 +57,11 @@ public abstract class GrapheneApiGenerator {
//TODO network connections
//TODO make to work with all Graphene type, not only bitshares
//public static String url = "http://128.0.69.157:8090";
//private static String equivalentUrl = "http://128.0.69.157:8090";
public static String url = "wss://bitshares.openledger.info/ws";
private static String equivalentUrl = "wss://bitshares.openledger.info/ws";
public static String url = "http://185.208.208.147:11012";
public static String faucetUrl = "http://185.208.208.147:5010";
private static String equivalentUrl = "http://185.208.208.147:8090";
//public static String url = "wss://bitshares.openledger.info/ws";
//private static String equivalentUrl = "wss://bitshares.openledger.info/ws";
// The message broker for bitshares

View File

@ -59,7 +59,7 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI
String btsIdAccount = BitsharesFaucetApiGenerator.registerBitsharesAccount(grapheneAccount.getName(),
new Address(grapheneAccount.getOwnerKey(context),"BTS").toString(),
new Address(grapheneAccount.getActiveKey(context),"BTS").toString(),
new Address(grapheneAccount.getMemoKey(context),"BTS").toString(),GrapheneApiGenerator.url);
new Address(grapheneAccount.getMemoKey(context),"BTS").toString(),GrapheneApiGenerator.faucetUrl);
if(btsIdAccount !=null) {
grapheneAccount.setAccountId(btsIdAccount);