Skip to content

Commit

Permalink
remove normal log
Browse files Browse the repository at this point in the history
  • Loading branch information
liam.lai committed Dec 20, 2024
1 parent e1ab3e0 commit 50f4013
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion consensus/XDPoS/engines/engine_v2/epochSwitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
h = chain.GetHeaderByHash(hash)
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())
}
}
Expand Down

0 comments on commit 50f4013

Please sign in to comment.