Skip to content

Commit 9fab31f

Browse files
committed
rebase fix
Signed-off-by: Ignacio Hagopian <[email protected]>
1 parent 7b2e9c0 commit 9fab31f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

core/state_processor.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,8 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg
9898
return nil, nil, 0, errors.New("withdrawals before shanghai")
9999
}
100100

101-
state, err := p.bc.State()
102-
if err != nil {
103-
return nil, nil, 0, fmt.Errorf("get statedb: %s", err)
104-
}
105101
parent := p.bc.GetHeaderByHash(header.ParentHash)
106-
if err := overlay.OverlayVerkleTransition(state, parent.Root, p.config.OverlayStride); err != nil {
102+
if err := overlay.OverlayVerkleTransition(statedb, parent.Root, p.config.OverlayStride); err != nil {
107103
log.Error("error performing the transition", "err", err)
108104
}
109105

0 commit comments

Comments
 (0)