[#19212] fix linting issues

This commit is contained in:
Jeff Wentworth 2019-03-18 14:35:15 +09:00
parent 80a2999624
commit 66375c13d3

View file

@ -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