mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +00:00
show wallet transaction dates
This commit is contained in:
parent
24a8ecea2b
commit
dbc7ff265a
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,6 @@ import bisq.core.offer.placeoffer.PlaceOfferProtocol;
|
|||
import bisq.core.provider.price.PriceFeedService;
|
||||
import bisq.core.support.dispute.arbitration.arbitrator.Arbitrator;
|
||||
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.trade.ClosedTradableManager;
|
||||
import bisq.core.trade.TradableList;
|
||||
|
|
|
@ -66,7 +66,6 @@ import bisq.network.p2p.P2PService;
|
|||
import bisq.network.p2p.network.TorNetworkNode;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
import bisq.common.ClockWatcher;
|
||||
import bisq.common.UserThread;
|
||||
import bisq.common.config.Config;
|
||||
import bisq.common.crypto.KeyRing;
|
||||
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);
|
||||
|
||||
isDustAttackTx = received && valueSentToMe.value < ignoreDustThreshold;
|
||||
|
|
Loading…
Reference in a new issue