diff --git a/chain/stmgr/stmgr.go b/chain/stmgr/stmgr.go index 8fe8ab00c..636d5af33 100644 --- a/chain/stmgr/stmgr.go +++ b/chain/stmgr/stmgr.go @@ -172,7 +172,7 @@ func (sm *StateManager) ApplyBlocks(ctx context.Context, pstate cid.Cid, bms []B } receipts = append(receipts, &r.MessageReceipt) - gasReward = big.Add(gasReward, big.NewInt(r.GasUsed)) + gasReward = big.Add(gasReward, big.Mul(m.GasPrice, big.NewInt(r.GasUsed))) penalty = big.Add(penalty, r.Penalty) if cb != nil {