mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
[#19212] fix linting issues
This commit is contained in:
parent
80a2999624
commit
66375c13d3
1 changed files with 2 additions and 2 deletions
|
|
@ -395,10 +395,10 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) {
|
||||||
|
|
||||||
// handle cases where rem or add could come up nil
|
// handle cases where rem or add could come up nil
|
||||||
if rem == nil || add == nil {
|
if rem == nil || add == nil {
|
||||||
if rem != nil{
|
if rem != nil {
|
||||||
discarded = append(discarded, rem.Transactions()...)
|
discarded = append(discarded, rem.Transactions()...)
|
||||||
}
|
}
|
||||||
if add != nil{
|
if add != nil {
|
||||||
included = append(included, add.Transactions()...)
|
included = append(included, add.Transactions()...)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue