diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index b0cc9340aa..d7c2d6eecd 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -597,14 +597,9 @@ func (pool *LegacyPool) validateTx(tx *types.Transaction) error { } // Authorities cannot conflict with any pending or queued transactions. for _, addr := range auths { - var known bool if list := pool.pending[addr]; list != nil { - known = true - } - if list := pool.queue[addr]; list != nil { - known = true - } - if known { + conflicts = append(conflicts, addr) + } else if list := pool.queue[addr]; list != nil { conflicts = append(conflicts, addr) } }