core, eth, les, trie: add a prefix to contract code (#21080)
This commit is contained in:
@ -34,6 +34,7 @@ import (
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
"github.com/ethereum/go-ethereum/log"
|
||||
"github.com/ethereum/go-ethereum/params"
|
||||
"github.com/ethereum/go-ethereum/trie"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -711,6 +712,7 @@ func (w *worker) updateSnapshot() {
|
||||
w.current.txs,
|
||||
uncles,
|
||||
w.current.receipts,
|
||||
new(trie.Trie),
|
||||
)
|
||||
|
||||
w.snapshotState = w.current.state.Copy()
|
||||
|
Reference in New Issue
Block a user