From 06a13681aee0576adb35e955442eb27184ec3d99 Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 5 Aug 2020 10:34:47 +0300 Subject: [PATCH] satisfy stupid linter --- chain/messagepool/selection.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chain/messagepool/selection.go b/chain/messagepool/selection.go index 5786996c6..01b20ee63 100644 --- a/chain/messagepool/selection.go +++ b/chain/messagepool/selection.go @@ -284,9 +284,9 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset *msgSet, return chains } -func (self *msgChain) Before(other *msgChain) bool { - return self.gasPerf > other.gasPerf || - (self.gasPerf == other.gasPerf && self.gasReward.Cmp(other.gasReward) > 0) +func (mc *msgChain) Before(other *msgChain) bool { + return mc.gasPerf > other.gasPerf || + (mc.gasPerf == other.gasPerf && mc.gasReward.Cmp(other.gasReward) > 0) } func (mc *msgChain) Trim(gasLimit int64, mp *MessagePool, ts *types.TipSet) {