fix_: encryption.GetCurrentTime implementation
This commit is contained in:
parent
da12c52596
commit
d8a5665871
|
@ -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.Millisecond))
|
||||
return (uint64)(time.Now().UnixNano() / int64(time.Second))
|
||||
}
|
||||
|
||||
// bumpKeyID takes a timestampID and returns its value incremented by the keyBumpValue
|
||||
|
|
Loading…
Reference in New Issue