Updated on 2026-08-14
This commit is contained in:
commit
2eed87d698
1 changed files with 6 additions and 2 deletions
|
|
@ -503,8 +503,12 @@ public class BtcCashEngine extends CoinEngine {
|
|||
|
||||
if (addressData.getAddress().getBalance() != 0) {
|
||||
blockchainRequestsCallbacks.onComplete(true);
|
||||
} else {
|
||||
requestIsTransactionConfirmed(addressData.getTransactions().get(0), blockchainRequestsCallbacks);
|
||||
} else { //check if there is an unconfirmed tx, which spent all funds
|
||||
if (addressData.getTransactions().isEmpty()) {
|
||||
blockchainRequestsCallbacks.onComplete(true);
|
||||
} else {
|
||||
requestIsTransactionConfirmed(addressData.getTransactions().get(0), blockchainRequestsCallbacks);
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue