Skip to content

Commit

Permalink
Update dropTxFeed usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-smith committed Apr 25, 2024
1 parent ee1670e commit d313612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/txpool/blobpool/blobpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ func (p *BlobPool) SubscribeTransactions(ch chan<- core.NewTxsEvent, reorgs bool
// SubscribeDropTxsEvent registers a subscription of DropTxsEvent and
// starts sending event to the given channel.
func (p *BlobPool) SubscribeDropTxsEvent(ch chan<- core.DropTxsEvent) event.Subscription {
return p.eventScope.Track(p.dropTxFeed.Subscribe(ch))
return p.dropTxFeed.Subscribe(ch)
}

// Nonce returns the next nonce of an account, with all transactions executable
Expand Down
2 changes: 1 addition & 1 deletion core/txpool/legacypool/legacypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func (pool *LegacyPool) SubscribeTransactions(ch chan<- core.NewTxsEvent, reorgs
// SubscribeDropTxsEvent registers a subscription of DropTxsEvent and
// starts sending event to the given channel.
func (pool *LegacyPool) SubscribeDropTxsEvent(ch chan<- core.DropTxsEvent) event.Subscription {
return pool.scope.Track(pool.dropTxFeed.Subscribe(ch))
return pool.dropTxFeed.Subscribe(ch)
}

// SetGasTip updates the minimum gas tip required by the transaction pool for a
Expand Down

0 comments on commit d313612

Please sign in to comment.