Verified Commit 358472c9 authored by Sarath's avatar Sarath
Browse files

remove dead code

parent cfccb1ca
......@@ -272,7 +272,6 @@ public class TxAdapter extends RecyclerView.Adapter<TxAdapter.TxViewHolder> {
ArrayList<Long> sectionDates = new ArrayList<>();
List<Tx> sectioned = new ArrayList<>();
// for pending state
WhirlpoolWallet wallet = AndroidWhirlpoolWalletService.getInstance().getWhirlpoolWalletOrNull();
boolean contains_pending = false;
boolean containsNonPendingTxForTodaySection = false;
for (int i = 0; i < txes.size(); i++) {
......@@ -283,13 +282,6 @@ public class TxAdapter extends RecyclerView.Adapter<TxAdapter.TxViewHolder> {
if(tx.getConfirmations() >= MAX_CONFIRM_COUNT && DateUtils.isToday(tx.getTS() * 1000)){
containsNonPendingTxForTodaySection = true;
}
if(wallet !=null ){
for (WhirlpoolUtxo whirlpoolUtxo: wallet.getUtxoSupplier().findUtxos(WhirlpoolAccount.POSTMIX)) {
if(whirlpoolUtxo.getUtxo().tx_hash.equals(tx.getHash())){
}
}
}
}
for (Tx tx : txes) {
Date date = new Date();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment