go-ethereum icon indicating copy to clipboard operation
go-ethereum copied to clipboard

core: remove unused bc ChainContext in applyTransaction

Open ycyraum opened this issue 3 years ago • 0 comments

bc ChainContext is not used by applyTransaction at all, so there is no need to pass it.

The context is restarted by applyTransaction to the txContext:

https://github.com/ethereum/go-ethereum/blob/master/core/state_processor.go#L98

ycyraum avatar Aug 10 '22 03:08 ycyraum