Cap random fake timestamp

This commit is contained in:
Rob Mulholand 2019-09-13 11:20:13 -05:00
parent 3f9b034c4c
commit 2b798e00e0

View File

@ -32,7 +32,7 @@ var (
FakeAddress = common.HexToAddress("0x" + RandomString(40))
FakeError = errors.New("failed")
FakeHash = common.BytesToHash([]byte{1, 2, 3, 4, 5})
fakeTimestamp = rand.Int63()
fakeTimestamp = rand.Int63n(1500000000)
)
var rawFakeHeader, _ = json.Marshal(types.Header{})