mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
fix tests
This commit is contained in:
parent
aff2f1fa73
commit
a504fa6e2f
1 changed files with 1 additions and 5 deletions
|
|
@ -367,11 +367,7 @@ func TestGetBlockBodies68(t *testing.T) {
|
||||||
func testGetBlockBodies(t *testing.T, protocol uint) {
|
func testGetBlockBodies(t *testing.T, protocol uint) {
|
||||||
gen := func(n int, g *core.BlockGen) {
|
gen := func(n int, g *core.BlockGen) {
|
||||||
if n%2 == 0 {
|
if n%2 == 0 {
|
||||||
w := &types.Withdrawal{
|
g.AddWithdrawal(&types.Withdrawal{})
|
||||||
Address: common.Address{0xaa},
|
|
||||||
Amount: 42,
|
|
||||||
}
|
|
||||||
g.AddWithdrawal(w)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue