mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 23:56:43 +00:00
minor refactor
Co-authored-by: Delweng <delweng@gmail.com>
This commit is contained in:
parent
f9f377d64f
commit
b7ff573886
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
|
|||
if vmConfig.Tracer != nil {
|
||||
l, ok := vmConfig.Tracer.(BlockchainLogger)
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("only extended tracers are supported for live mode")
|
||||
return nil, errors.New("only extended tracers are supported for live mode")
|
||||
}
|
||||
logger = l
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue