Rollback part of 2136fe62ce

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
Pedro Pombeiro 2018-06-06 08:44:52 +02:00
parent 2e62e945ff
commit 18aaa890a3
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
2 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ class JSCJail implements Jail {
JSFunction web3send = new JSFunction(context, "web3send") { JSFunction web3send = new JSFunction(context, "web3send") {
public String web3send(String payload) { public String web3send(String payload) {
return Statusgo.CallPrivateRPC(payload); return Statusgo.CallRPC(payload);
} }
}; };
context.property("web3send", web3send); context.property("web3send", web3send);
@ -105,7 +105,7 @@ class JSCJail implements Jail {
Runnable r = new Runnable() { Runnable r = new Runnable() {
@Override @Override
public void run() { public void run() {
String result = Statusgo.CallPrivateRPC(payload); String result = Statusgo.CallRPC(payload);
callback.toFunction().call(null, result); callback.toFunction().call(null, result);
} }
}; };

View File

@ -13,7 +13,7 @@
- (NSString *)send:(JSValue *)payload - (NSString *)send:(JSValue *)payload
{ {
char * result = CallPrivateRPC((char *) [[payload toString] UTF8String]); char * result = CallRPC((char *) [[payload toString] UTF8String]);
return [NSString stringWithUTF8String: result]; return [NSString stringWithUTF8String: result];
} }