mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
fix : test-integration
This commit is contained in:
parent
6528e4500b
commit
36fa343a1b
1 changed files with 1 additions and 2 deletions
|
|
@ -596,8 +596,7 @@ func TestOutOfTurnSigning(t *testing.T) {
|
||||||
_bor.SetSpanner(spanner)
|
_bor.SetSpanner(spanner)
|
||||||
_bor.SetHeimdallClient(h)
|
_bor.SetHeimdallClient(h)
|
||||||
|
|
||||||
db := init.ethereum.ChainDb()
|
block := init.genesis.ToBlock()
|
||||||
block := init.genesis.ToBlock(db)
|
|
||||||
|
|
||||||
setDifficulty := func(header *types.Header) {
|
setDifficulty := func(header *types.Header) {
|
||||||
if IsSprintStart(header.Number.Uint64()) {
|
if IsSprintStart(header.Number.Uint64()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue