Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
Co-authored-by: Delweng <[email protected]>
  • Loading branch information
s1na and jsvisa authored Jul 28, 2023
1 parent f9f377d commit b7ff573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b7ff573

Please sign in to comment.