Skip to content

Commit

Permalink
miner: replace use of 'self' as receiver name (ethereum#21113)
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong authored and enriquefynn committed Feb 15, 2021
1 parent b472c08 commit 77a6baa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,6 @@ func (miner *Miner) DisablePreseal() {

// SubscribePendingLogs starts delivering logs from pending transactions
// to the given channel.
func (self *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription {
return self.worker.pendingLogsFeed.Subscribe(ch)
func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription {
return miner.worker.pendingLogsFeed.Subscribe(ch)
}

0 comments on commit 77a6baa

Please sign in to comment.