Updated on 2026-08-14
This commit is contained in:
parent
c63b0f47dc
commit
1d05681eb8
1 changed files with 2 additions and 10 deletions
|
|
@ -9,7 +9,6 @@ import com.tangem.App;
|
|||
import com.tangem.Constant;
|
||||
import com.tangem.data.local.PendingTransactionsStorage;
|
||||
import com.tangem.data.network.ServerApiAdalite;
|
||||
import com.tangem.data.network.ServerApiBlockcypher;
|
||||
import com.tangem.data.network.ServerApiPayId;
|
||||
import com.tangem.data.network.model.AdaliteResponse;
|
||||
import com.tangem.data.network.model.AdaliteResponseUtxo;
|
||||
|
|
@ -821,15 +820,8 @@ public class CardanoEngine extends CoinEngine {
|
|||
|
||||
@Override
|
||||
public void onSuccess(String method, String stringResponse) {
|
||||
if (method.equals(ServerApiAdalite.ADALITE_SEND)) {
|
||||
if (stringResponse.equals("\"Transaction sent successfully!\"")) {
|
||||
ctx.setError(null);
|
||||
blockchainRequestsCallbacks.onComplete(true);
|
||||
} else { // TODO: Make check for a valid send response
|
||||
ctx.setError(stringResponse);
|
||||
blockchainRequestsCallbacks.onComplete(false);
|
||||
}
|
||||
}
|
||||
ctx.setError(null);
|
||||
blockchainRequestsCallbacks.onComplete(true);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue