no future transactions
This commit is contained in:
parent
73634f125f
commit
fb3026f3c4
1 changed files with 3 additions and 0 deletions
|
|
@ -334,6 +334,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.txHistoryPaging = txs[self.limitHistory] ? true : false;
|
||||
lodash.each(txs, function(tx) {
|
||||
tx.ts = tx.minedTs || tx.sentTs;
|
||||
// no future transaction...
|
||||
if (tx.ts > now)
|
||||
ts.ts = now;
|
||||
tx.rateTs = Math.floor((tx.ts || now) / 1000);
|
||||
tx.amountStr = profileService.formatAmount(tx.amount); //$filter('noFractionNumber')(
|
||||
if (c < self.limitHistory) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue