diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-05-17 04:05:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 04:05:07 +0800 |
commit | 8e1cad5ff60a67117bd6802dce15345d7b2542a4 (patch) | |
tree | 9024802d434ceaf5d207cfe752b8429d32d225f9 | |
parent | 2081768fc5881151c1035236fdb4cb65b1a5f6be (diff) | |
download | tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar.gz tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar.bz2 tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar.lz tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar.xz tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.tar.zst tangerine-wallet-browser-8e1cad5ff60a67117bd6802dce15345d7b2542a4.zip |
tx-state-history-helper - use more readable Date.now method
-rw-r--r-- | app/scripts/controllers/transactions/lib/tx-state-history-helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions/lib/tx-state-history-helper.js b/app/scripts/controllers/transactions/lib/tx-state-history-helper.js index 4d8f4baa4..4562568e9 100644 --- a/app/scripts/controllers/transactions/lib/tx-state-history-helper.js +++ b/app/scripts/controllers/transactions/lib/tx-state-history-helper.js @@ -42,7 +42,7 @@ function generateHistoryEntry (previousState, newState, note) { if (entry[0]) { if (note) entry[0].note = note - entry[0].timestamp = (new Date()).getTime() + entry[0].timestamp = Date.now() } return entry } |