Skip to content

Commit

Permalink
chg: logging level
Browse files Browse the repository at this point in the history
  • Loading branch information
anshalshukla committed Oct 20, 2023
1 parent 0348ef2 commit 7f74de4
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)

Check failure on line 822 in consensus/bor/bor.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-20.04)

only cuddled expressions if assigning variable or using from line above (wsl)
}

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)

Check failure on line 828 in consensus/bor/bor.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-20.04)

only cuddled expressions if assigning variable or using from line above (wsl)
}

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)

Check failure on line 908 in consensus/bor/bor.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-20.04)

only cuddled expressions if assigning variable or using from line above (wsl)
}

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)

Check failure on line 914 in consensus/bor/bor.go

View workflow job for this annotation

GitHub Actions / lint (ubuntu-20.04)

only cuddled expressions if assigning variable or using from line above (wsl)
}

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

0 comments on commit 7f74de4

Please sign in to comment.