Rollback part of 2136fe62ce
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
2e62e945ff
commit
18aaa890a3
|
@ -95,7 +95,7 @@ class JSCJail implements Jail {
|
|||
|
||||
JSFunction web3send = new JSFunction(context, "web3send") {
|
||||
public String web3send(String payload) {
|
||||
return Statusgo.CallPrivateRPC(payload);
|
||||
return Statusgo.CallRPC(payload);
|
||||
}
|
||||
};
|
||||
context.property("web3send", web3send);
|
||||
|
@ -105,7 +105,7 @@ class JSCJail implements Jail {
|
|||
Runnable r = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
String result = Statusgo.CallPrivateRPC(payload);
|
||||
String result = Statusgo.CallRPC(payload);
|
||||
callback.toFunction().call(null, result);
|
||||
}
|
||||
};
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
- (NSString *)send:(JSValue *)payload
|
||||
{
|
||||
char * result = CallPrivateRPC((char *) [[payload toString] UTF8String]);
|
||||
char * result = CallRPC((char *) [[payload toString] UTF8String]);
|
||||
|
||||
return [NSString stringWithUTF8String: result];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue