miner: replace use of 'self' as receiver name (#21113)

release/1.9
ucwong 5 years ago committed by GitHub
parent b4a2681120
commit 48e3b95e77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      miner/miner.go

@ -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)
}

Loading…
Cancel
Save