From 8e1cad5ff60a67117bd6802dce15345d7b2542a4 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 16 May 2018 13:05:07 -0700 Subject: tx-state-history-helper - use more readable Date.now method --- app/scripts/controllers/transactions/lib/tx-state-history-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/scripts/controllers/transactions') 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 } -- cgit v1.2.3