mirror of
https://github.com/status-im/status-go.git
synced 2025-02-01 17:38:36 +00:00
fix_: Use UnixMilli()
This commit is contained in:
parent
d8a5665871
commit
20d3a7b69b
@ -18,7 +18,7 @@ const keyBumpValue = uint64(10)
|
||||
|
||||
// GetCurrentTime64 returns the current unix time in milliseconds
|
||||
func GetCurrentTime() uint64 {
|
||||
return (uint64)(time.Now().UnixNano() / int64(time.Second))
|
||||
return (uint64)(time.Now().UnixMilli())
|
||||
}
|
||||
|
||||
// bumpKeyID takes a timestampID and returns its value incremented by the keyBumpValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user