Updated on 2026-08-14

This commit is contained in:
Tangem 2019-04-16 10:27:49 +03:00
parent 21ecd5e37b
commit 49ec774b9b
6 changed files with 27 additions and 16 deletions

View file

@ -181,7 +181,7 @@ public class RskEngine extends EthEngine {
@Override
public void onSuccess(String method, InfuraResponse rootstockResponse) {
if (method.equals(ServerApiRootstock.ROOTSTOCK_ETH_SEND_RAW_TRANSACTION)) {
if (rootstockResponse.getResult().isEmpty()) {
if (rootstockResponse.getResult()==null || rootstockResponse.getResult().isEmpty()) {
ctx.setError("Rejected by node: " + rootstockResponse.getError());
blockchainRequestsCallbacks.onComplete(false);
} else {