Patch for concurrent iterator & others (onto v1.11.6) #386
@ -444,6 +444,7 @@ func TestAncientStorage(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to create database with ancient backend")
|
t.Fatalf("failed to create database with ancient backend")
|
||||||
}
|
}
|
||||||
|
defer db.Close()
|
||||||
// Create a test block
|
// Create a test block
|
||||||
block := types.NewBlockWithHeader(&types.Header{
|
block := types.NewBlockWithHeader(&types.Header{
|
||||||
Number: big.NewInt(0),
|
Number: big.NewInt(0),
|
||||||
|
Loading…
Reference in New Issue
Block a user