miner: replace use of 'self' as receiver name (#21113)
This commit is contained in:
parent
b4a2681120
commit
48e3b95e77
@ -202,6 +202,6 @@ func (miner *Miner) DisablePreseal() {
|
|||||||
|
|
||||||
// SubscribePendingLogs starts delivering logs from pending transactions
|
// SubscribePendingLogs starts delivering logs from pending transactions
|
||||||
// to the given channel.
|
// to the given channel.
|
||||||
func (self *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription {
|
func (miner *Miner) SubscribePendingLogs(ch chan<- []*types.Log) event.Subscription {
|
||||||
return self.worker.pendingLogsFeed.Subscribe(ch)
|
return miner.worker.pendingLogsFeed.Subscribe(ch)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user