satisfy stupid linter
This commit is contained in:
parent
50e1650344
commit
06a13681ae
@ -284,9 +284,9 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset *msgSet,
|
|||||||
return chains
|
return chains
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *msgChain) Before(other *msgChain) bool {
|
func (mc *msgChain) Before(other *msgChain) bool {
|
||||||
return self.gasPerf > other.gasPerf ||
|
return mc.gasPerf > other.gasPerf ||
|
||||||
(self.gasPerf == other.gasPerf && self.gasReward.Cmp(other.gasReward) > 0)
|
(mc.gasPerf == other.gasPerf && mc.gasReward.Cmp(other.gasReward) > 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (mc *msgChain) Trim(gasLimit int64, mp *MessagePool, ts *types.TipSet) {
|
func (mc *msgChain) Trim(gasLimit int64, mp *MessagePool, ts *types.TipSet) {
|
||||||
|
Loading…
Reference in New Issue
Block a user