Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed Jun 17, 2022
1 parent bda9ded commit 5aa33f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arbos/tx_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func (p *TxProcessor) EndTxHook(gasLeft uint64, success bool) {
refund := arbmath.BigMulByUint(gasPrice, gasLeft)

// undo Geth's refund to the From address
err := util.TransferBalance(&inner.From, nil, refund, p.evm, scenario, "ignore")
err := util.TransferBalance(&inner.From, nil, refund, p.evm, scenario, "undoRefund")
if err != nil {
log.Error("Uh oh, Geth didn't refund the user", inner.From, refund)
}
Expand Down
2 changes: 1 addition & 1 deletion go-ethereum
2 changes: 1 addition & 1 deletion precompiles/ArbSys.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (con *ArbSys) SendTxToL1(c ctx, evm mech, value huge, destination addr, cal
}

// burn the callvalue, which was previously deposited to this precompile's account
if err := util.BurnBalance(&con.Address, value, evm, util.TracingDuringEVM, "l1Send"); err != nil {
if err := util.BurnBalance(&con.Address, value, evm, util.TracingDuringEVM, "withdraw"); err != nil {
return nil, err
}

Expand Down

0 comments on commit 5aa33f2

Please sign in to comment.