mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
remove normal log
This commit is contained in:
parent
e1ab3e03d1
commit
50f4013059
1 changed files with 0 additions and 1 deletions
|
|
@ -41,7 +41,6 @@ func (x *XDPoS_v2) getEpochSwitchInfo(chain consensus.ChainReader, header *types
|
||||||
log.Debug("[getEpochSwitchInfo] header doesn't provide, get header by hash", "hash", hash.Hex())
|
log.Debug("[getEpochSwitchInfo] header doesn't provide, get header by hash", "hash", hash.Hex())
|
||||||
h = chain.GetHeaderByHash(hash)
|
h = chain.GetHeaderByHash(hash)
|
||||||
if h == nil {
|
if h == nil {
|
||||||
log.Warn("[getEpochSwitchInfo] can not find header from db", "hash", hash.Hex())
|
|
||||||
return nil, fmt.Errorf("[getEpochSwitchInfo] can not find header from db hash %v", hash.Hex())
|
return nil, fmt.Errorf("[getEpochSwitchInfo] can not find header from db hash %v", hash.Hex())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue