forked from cerc-io/ipld-eth-server
Replace GinkgoRandomSeed with proper randomisation
This commit is contained in:
@@ -16,6 +16,7 @@ package vat_init_test
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"math/rand"
|
||||
|
||||
. "github.com/onsi/ginkgo"
|
||||
. "github.com/onsi/gomega"
|
||||
@@ -134,7 +135,7 @@ var _ = Describe("Vat init repository", func() {
|
||||
)
|
||||
|
||||
BeforeEach(func() {
|
||||
startingBlock = GinkgoRandomSeed()
|
||||
startingBlock = rand.Int63()
|
||||
vatInitBlock = startingBlock + 1
|
||||
endingBlock = startingBlock + 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user