consensus: replace magic 1000000 with something more meaningful
This commit is contained in:
parent
579630a3fa
commit
a43e374ac6
9 changed files with 17 additions and 14 deletions
|
@ -9,6 +9,6 @@ import (
|
|||
func TestRecoveryRequest_Setters(t *testing.T) {
|
||||
var r recoveryRequest
|
||||
|
||||
r.SetTimestamp(123 * 1000000)
|
||||
require.EqualValues(t, 123*1000000, r.Timestamp())
|
||||
r.SetTimestamp(123 * nsInMs)
|
||||
require.EqualValues(t, 123*nsInMs, r.Timestamp())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue