Skip to content

Commit

Permalink
chg: loggig level
Browse files Browse the repository at this point in the history
  • Loading branch information
anshalshukla committed Oct 20, 2023
1 parent 0348ef2 commit 5ddc235
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions consensus/bor/bor.go
Original file line number Diff line number Diff line change
Expand Up @@ -819,13 +819,13 @@ func (c *Bor) Finalize(chain consensus.ChainHeaderReader, header *types.Header,
if withdrawals != nil {
//nolint
withdrawals = nil
log.Error("Bor does not support withdrawals", "number", headerNumber)
log.Warn("Bor does not support withdrawals", "number", headerNumber)
}

if header.WithdrawalsHash != nil {
//nolint
header.WithdrawalsHash = nil
log.Error("Bor does not support withdrawalHash", "number", headerNumber)
log.Warn("Bor does not support withdrawalHash", "number", headerNumber)
}

if IsSprintStart(headerNumber, c.config.CalculateSprint(headerNumber)) {
Expand Down Expand Up @@ -905,13 +905,13 @@ func (c *Bor) FinalizeAndAssemble(ctx context.Context, chain consensus.ChainHead
if withdrawals != nil {
//nolint
withdrawals = nil
log.Error("Bor does not support withdrawals", "number", headerNumber)
log.Warn("Bor does not support withdrawals", "number", headerNumber)
}

if header.WithdrawalsHash != nil {
//nolint
header.WithdrawalsHash = nil
log.Error("Bor does not support withdrawalHash", "number", headerNumber)
log.Warn("Bor does not support withdrawalHash", "number", headerNumber)
}

stateSyncData := []*types.StateSyncData{}
Expand Down

0 comments on commit 5ddc235

Please sign in to comment.