Cap random fake timestamp
This commit is contained in:
parent
3f9b034c4c
commit
2b798e00e0
@ -32,7 +32,7 @@ var (
|
|||||||
FakeAddress = common.HexToAddress("0x" + RandomString(40))
|
FakeAddress = common.HexToAddress("0x" + RandomString(40))
|
||||||
FakeError = errors.New("failed")
|
FakeError = errors.New("failed")
|
||||||
FakeHash = common.BytesToHash([]byte{1, 2, 3, 4, 5})
|
FakeHash = common.BytesToHash([]byte{1, 2, 3, 4, 5})
|
||||||
fakeTimestamp = rand.Int63()
|
fakeTimestamp = rand.Int63n(1500000000)
|
||||||
)
|
)
|
||||||
|
|
||||||
var rawFakeHeader, _ = json.Marshal(types.Header{})
|
var rawFakeHeader, _ = json.Marshal(types.Header{})
|
||||||
|
Loading…
Reference in New Issue
Block a user