diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index a337c42e25..affe44cf06 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -1502,7 +1502,7 @@ func (pool *LegacyPool) truncatePending() { length := uint64(list.Len()) pending += length if length > pool.config.AccountSlots { - spammers.Push(addr, uint64(length)) + spammers.Push(addr, length) } } if pending <= pool.config.GlobalSlots {