From 829c7953d52a953067917f6d1ceee2f2e12c12c0 Mon Sep 17 00:00:00 2001 From: vyzo Date: Wed, 5 Aug 2020 18:28:04 +0300 Subject: [PATCH] fix dereference bug --- chain/messagepool/selection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/messagepool/selection.go b/chain/messagepool/selection.go index e363c6ccd..adced851f 100644 --- a/chain/messagepool/selection.go +++ b/chain/messagepool/selection.go @@ -219,7 +219,7 @@ func (mp *MessagePool) createMessageChains(actor address.Address, mset *msgSet, chain.msgs = []*types.SignedMessage{m} chain.gasReward = rewards[i] chain.gasLimit = m.Message.GasLimit - chain.gasPerf = mp.getGasPerf(curChain.gasReward, curChain.gasLimit) + chain.gasPerf = mp.getGasPerf(chain.gasReward, chain.gasLimit) chain.valid = true return chain }