1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

tx-state-history-helper - use more readable Date.now method

This commit is contained in:
kumavis 2018-05-16 13:05:07 -07:00 committed by GitHub
parent 2081768fc5
commit 8e1cad5ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}