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

This commit is contained in:
ucwong
2020-05-25 10:20:09 +02:00
committed by GitHub
parent b4a2681120
commit 48e3b95e77
+2 -2
View File
@@ -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)
}