mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-11-10 13:13:36 +01:00
show wallet transaction dates
This commit is contained in:
parent
24a8ecea2b
commit
dbc7ff265a
@ -33,7 +33,6 @@ import bisq.core.offer.placeoffer.PlaceOfferProtocol;
|
|||||||
import bisq.core.provider.price.PriceFeedService;
|
import bisq.core.provider.price.PriceFeedService;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.Arbitrator;
|
import bisq.core.support.dispute.arbitration.arbitrator.Arbitrator;
|
||||||
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
import bisq.core.support.dispute.arbitration.arbitrator.ArbitratorManager;
|
||||||
import bisq.core.support.dispute.mediation.mediator.Mediator;
|
|
||||||
import bisq.core.support.dispute.mediation.mediator.MediatorManager;
|
import bisq.core.support.dispute.mediation.mediator.MediatorManager;
|
||||||
import bisq.core.trade.ClosedTradableManager;
|
import bisq.core.trade.ClosedTradableManager;
|
||||||
import bisq.core.trade.TradableList;
|
import bisq.core.trade.TradableList;
|
||||||
|
@ -66,7 +66,6 @@ import bisq.network.p2p.P2PService;
|
|||||||
import bisq.network.p2p.network.TorNetworkNode;
|
import bisq.network.p2p.network.TorNetworkNode;
|
||||||
import com.google.common.collect.ImmutableList;
|
import com.google.common.collect.ImmutableList;
|
||||||
import bisq.common.ClockWatcher;
|
import bisq.common.ClockWatcher;
|
||||||
import bisq.common.UserThread;
|
|
||||||
import bisq.common.config.Config;
|
import bisq.common.config.Config;
|
||||||
import bisq.common.crypto.KeyRing;
|
import bisq.common.crypto.KeyRing;
|
||||||
import bisq.common.handlers.ErrorMessageHandler;
|
import bisq.common.handlers.ErrorMessageHandler;
|
||||||
|
@ -174,7 +174,9 @@ class TransactionsListItem {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.date = new Date(0); // TODO: convert height to date
|
// get tx date/time
|
||||||
|
Long timestamp = tx.getBlock() == null ? System.currentTimeMillis() : tx.getBlock().getTimestamp() * 1000l;
|
||||||
|
this.date = new Date(timestamp);
|
||||||
dateString = DisplayUtils.formatDateTime(date);
|
dateString = DisplayUtils.formatDateTime(date);
|
||||||
|
|
||||||
isDustAttackTx = received && valueSentToMe.value < ignoreDustThreshold;
|
isDustAttackTx = received && valueSentToMe.value < ignoreDustThreshold;
|
||||||
|
Loading…
Reference in New Issue
Block a user