mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
update
This commit is contained in:
parent
0cbc3b9f7b
commit
24e774b167
2 changed files with 0 additions and 7 deletions
|
|
@ -1777,7 +1777,6 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
|
|||
substart := time.Now()
|
||||
receipts, logs, usedGas, err := bc.processor.Process(block, statedb, bc.vmConfig, bc.tracingTx())
|
||||
if err != nil {
|
||||
fmt.Printf("process error: %v\n", err)
|
||||
bc.reportBlock(block, receipts, err)
|
||||
atomic.StoreUint32(&followupInterrupt, 1)
|
||||
return it.index, err
|
||||
|
|
@ -1799,7 +1798,6 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals, setHead bool)
|
|||
// Validate the state using the default validator
|
||||
substart = time.Now()
|
||||
if err := bc.validator.ValidateState(block, statedb, receipts, usedGas); err != nil {
|
||||
fmt.Printf("validate state error: %v\n", err)
|
||||
bc.reportBlock(block, receipts, err)
|
||||
atomic.StoreUint32(&followupInterrupt, 1)
|
||||
return it.index, err
|
||||
|
|
|
|||
|
|
@ -1121,11 +1121,6 @@ func (s *StateDB) Prepare(rules params.Rules, sender, coinbase common.Address, d
|
|||
s.transientStorage = newTransientStorage()
|
||||
}
|
||||
|
||||
func (s *StateDB) SetTxHashAndIndex(txhash common.Hash, ti int) {
|
||||
s.thash = txhash
|
||||
s.txIndex = ti
|
||||
}
|
||||
|
||||
// AddAddressToAccessList adds the given address to the access list
|
||||
func (s *StateDB) AddAddressToAccessList(addr common.Address) {
|
||||
if s.accessList.AddAddress(addr) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue