docs(contracts): OZ-L09 Misleading and Incorrect Comments (#851)

Co-authored-by: zimpha <zimpha@users.noreply.github.com>
This commit is contained in:
Xi Lin
2023-08-22 12:53:42 +08:00
committed by GitHub
parent 61eb75fbb6
commit d7d62eb8e6
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ import (
"strings"
)
var tag = "v4.1.85"
var tag = "v4.1.86"
var commit = func() string {
if info, ok := debug.ReadBuildInfo(); ok {

View File

@@ -128,7 +128,7 @@ contract L2USDCGateway is L2ERC20Gateway {
require(_token == l2USDC, "only USDC is allowed");
require(!withdrawPaused, "withdraw paused");
// 1. Extract real sender if this call is from L1GatewayRouter.
// 1. Extract real sender if this call is from L2GatewayRouter.
address _from = msg.sender;
if (router == msg.sender) {
(_from, _data) = abi.decode(_data, (address, bytes));