diff --git a/core/tx_pool.go b/core/tx_pool.go index 5202dc8d7e..76669e8df0 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -395,10 +395,10 @@ func (pool *TxPool) reset(oldHead, newHead *types.Header) { // handle cases where rem or add could come up nil if rem == nil || add == nil { - if rem != nil{ + if rem != nil { discarded = append(discarded, rem.Transactions()...) } - if add != nil{ + if add != nil { included = append(included, add.Transactions()...) } return