From 48e3b95e774535aee1104d1283d2536cd47c9389 Mon Sep 17 00:00:00 2001 From: ucwong Date: Mon, 25 May 2020 16:20:09 +0800 Subject: [PATCH] miner: replace use of 'self' as receiver name (#21113) --- miner/miner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/miner/miner.go b/miner/miner.go index 3094682cf..5249118ca 100644 --- a/miner/miner.go +++ b/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) }