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:
parent
2081768fc5
commit
8e1cad5ff6
@ -42,7 +42,7 @@ function generateHistoryEntry (previousState, newState, note) {
|
|||||||
if (entry[0]) {
|
if (entry[0]) {
|
||||||
if (note) entry[0].note = note
|
if (note) entry[0].note = note
|
||||||
|
|
||||||
entry[0].timestamp = (new Date()).getTime()
|
entry[0].timestamp = Date.now()
|
||||||
}
|
}
|
||||||
return entry
|
return entry
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user