core: fixed TestGeneratePOSChain

This commit is contained in:
Pratik Patil 2025-05-12 11:11:16 +05:30
parent a9c3e9cb71
commit e57d85b108
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -120,7 +120,7 @@ func TestGeneratePOSChain(t *testing.T) {
}) })
// Import the chain. This runs all block validation rules. // Import the chain. This runs all block validation rules.
blockchain, _ := NewBlockChain(db, nil, gspec, nil, ethash.NewFaker(), vm.Config{}, nil, nil, nil) blockchain, _ := NewBlockChain(db, nil, gspec, nil, beacon.NewFaker(), vm.Config{}, nil, nil, nil)
defer blockchain.Stop() defer blockchain.Stop()
if i, err := blockchain.InsertChain(genchain); err != nil { if i, err := blockchain.InsertChain(genchain); err != nil {