We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d8aca9 commit 8692589Copy full SHA for 8692589
core/txpool/legacypool/legacypool.go
@@ -1765,12 +1765,14 @@ func (t *lookup) Remove(hash common.Hash) {
1765
t.lock.Lock()
1766
defer t.lock.Unlock()
1767
1768
- t.removeAuthorities(hash)
1769
tx, ok := t.txs[hash]
1770
if !ok {
1771
log.Error("No transaction found to be deleted", "hash", hash)
1772
return
1773
}
+ if tx.Type() == types.SetCodeTxType {
1774
+ t.removeAuthorities(hash)
1775
+ }
1776
t.slots -= numSlots(tx)
1777
slotsGauge.Update(int64(t.slots))
1778
0 commit comments