This commit is contained in:
Javier Varona 2018-01-04 20:16:41 -04:00
commit bdfd078b57
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);