diff --git a/contracts/v0.8/mainchain/MainchainGatewayV2.sol b/contracts/v0.8/mainchain/MainchainGatewayV2.sol index d2e7efb..904bad5 100644 --- a/contracts/v0.8/mainchain/MainchainGatewayV2.sol +++ b/contracts/v0.8/mainchain/MainchainGatewayV2.sol @@ -316,6 +316,7 @@ contract MainchainGatewayV2 is WithdrawalLimitation, Initializable, AccessContro require(_request.info.quantity == msg.value, "MainchainGatewayV2: invalid request"); _token = getRoninToken(_weth); require(_token.erc == _request.info.erc, "MainchainGatewayV2: invalid token standard"); + _request.tokenAddr = _weth; } else { require(msg.value == 0, "MainchainGatewayV2: invalid request"); _token = getRoninToken(_request.tokenAddr);