File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ func (st *StateTransition) to() common.Address {
234234
235235func (st * StateTransition ) buyGas () error {
236236 mgval := new (big.Int ).SetUint64 (st .msg .GasLimit )
237- mgval = mgval .Mul (mgval , st .msg .GasPrice )
237+ mgval .Mul (mgval , st .msg .GasPrice )
238238 balanceCheck := new (big.Int ).Set (mgval )
239239 if st .msg .GasFeeCap != nil {
240240 balanceCheck .SetUint64 (st .msg .GasLimit )
@@ -477,7 +477,7 @@ func (st *StateTransition) refundGas(refundQuotient uint64) uint64 {
477477
478478 // Return ETH for remaining gas, exchanged at the original rate.
479479 remaining := uint256 .NewInt (st .gasRemaining )
480- remaining = remaining .Mul (remaining , uint256 .MustFromBig (st .msg .GasPrice ))
480+ remaining .Mul (remaining , uint256 .MustFromBig (st .msg .GasPrice ))
481481 st .state .AddBalance (st .msg .From , remaining )
482482
483483 // Also return remaining gas to the block gas counter so it is
You can’t perform that action at this time.
0 commit comments