From 66375c13d31b476573496171949c8d6d7c576ff9 Mon Sep 17 00:00:00 2001 From: Jeff Wentworth Date: Mon, 18 Mar 2019 14:35:15 +0900 Subject: [PATCH] [#19212] fix linting issues --- core/tx_pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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