Fix missing return value
This commit is contained in:
parent
9f28e94d66
commit
a88d316b0a
@ -284,7 +284,7 @@ func PluginGetBlockTracer(pl *plugins.PluginLoader, hash common.Hash, statedb *s
|
|||||||
func pluginGetBlockTracer(hash common.Hash, statedb *state.StateDB) (*metaTracer, bool) {
|
func pluginGetBlockTracer(hash common.Hash, statedb *state.StateDB) (*metaTracer, bool) {
|
||||||
if plugins.DefaultPluginLoader == nil {
|
if plugins.DefaultPluginLoader == nil {
|
||||||
log.Warn("Attempting GetBlockTracer, but default PluginLoader has not been initialized")
|
log.Warn("Attempting GetBlockTracer, but default PluginLoader has not been initialized")
|
||||||
return &metaTracer{}
|
return &metaTracer{}, false
|
||||||
}
|
}
|
||||||
return PluginGetBlockTracer(plugins.DefaultPluginLoader, hash, statedb)
|
return PluginGetBlockTracer(plugins.DefaultPluginLoader, hash, statedb)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user