Skip to content

Commit

Permalink
unneeded SetAllowUnfinalizedQueries (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush authored Jun 6, 2024
1 parent d9704a3 commit bb6bfd9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugin/evm/vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1079,8 +1079,6 @@ func TestNonCanonicalAccept(t *testing.T) {
t.Fatal(err)
}

vm1.eth.APIBackend.SetAllowUnfinalizedQueries(true)

blkBHeight := vm1BlkB.Height()
blkBHash := vm1BlkB.(*chain.BlockWrapper).Block.(*Block).ethBlock.Hash()
if b := vm1.blockChain.GetBlockByNumber(blkBHeight); b.Hash() != blkBHash {
Expand Down Expand Up @@ -1250,8 +1248,6 @@ func TestStickyPreference(t *testing.T) {
t.Fatal(err)
}

vm1.eth.APIBackend.SetAllowUnfinalizedQueries(true)

blkBHeight := vm1BlkB.Height()
blkBHash := vm1BlkB.(*chain.BlockWrapper).Block.(*Block).ethBlock.Hash()
if b := vm1.blockChain.GetBlockByNumber(blkBHeight); b.Hash() != blkBHash {
Expand Down

0 comments on commit bb6bfd9

Please sign in to comment.