diff options
Diffstat (limited to 'ledger/blockqueue_test.go')
-rw-r--r-- | ledger/blockqueue_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ledger/blockqueue_test.go b/ledger/blockqueue_test.go index 9b69d277d..55f2a39ef 100644 --- a/ledger/blockqueue_test.go +++ b/ledger/blockqueue_test.go @@ -28,6 +28,7 @@ import ( "github.com/algorand/go-algorand/crypto" "github.com/algorand/go-algorand/data/bookkeeping" "github.com/algorand/go-algorand/ledger/ledgercore" + ledgertesting "github.com/algorand/go-algorand/ledger/testing" "github.com/algorand/go-algorand/logging" "github.com/algorand/go-algorand/protocol" "github.com/algorand/go-algorand/test/partitiontest" @@ -36,7 +37,7 @@ import ( func TestPutBlockTooOld(t *testing.T) { partitiontest.PartitionTest(t) - genesisInitState, _, _ := genesis(10) + genesisInitState, _, _ := ledgertesting.Genesis(10) dbName := fmt.Sprintf("%s.%d", t.Name(), crypto.RandUint64()) const inMem = true @@ -67,7 +68,7 @@ func TestPutBlockTooOld(t *testing.T) { func TestGetEncodedBlockCert(t *testing.T) { partitiontest.PartitionTest(t) - genesisInitState, _, _ := genesis(10) + genesisInitState, _, _ := ledgertesting.Genesis(10) const inMem = true cfg := config.GetDefaultLocal() |