Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
Co-Authored-By: battlmonstr <11477595+battlmonstr@users.noreply.github.com>
  • Loading branch information
ImTei and battlmonstr committed Apr 5, 2024
1 parent ecad027 commit bab9b36
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion turbo/engineapi/engine_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"encoding/binary"
"errors"
"fmt"
"log"
"math/big"
"reflect"
"sync"
Expand Down
1 change: 0 additions & 1 deletion turbo/silkworm/silkworm.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/erigontech/silkworm-go"
"github.com/ledgerwatch/erigon-lib/kv"
"github.com/ledgerwatch/erigon/consensus"
"math/big"
)

type Silkworm = silkworm_go.Silkworm
Expand Down
2 changes: 1 addition & 1 deletion turbo/stages/stageloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ func (h *Hook) afterRun(tx kv.Tx, finishProgressBefore uint64) error {
}
if notifications != nil && notifications.Accumulator != nil && currentHeader != nil {

pendingBaseFee := misc.CalcBaseFee(h.chainConfig, currentHeader)
pendingBaseFee := misc.CalcBaseFee(h.chainConfig, currentHeader, currentHeader.Time+1)
if currentHeader.Number.Uint64() == 0 {
notifications.Accumulator.StartChange(0, currentHeader.Hash(), nil, false)
}
Expand Down

0 comments on commit bab9b36

Please sign in to comment.