@@ -58,7 +58,7 @@ contract HostPassage {
58
58
/// @dev Permanently burns the entire msg.value by locking it in this contract.
59
59
/// @param rollupChainId - The rollup chain to enter.
60
60
/// @param rollupRecipient - The recipient of the Ether on the rollup.
61
- /// @custom:emits Enter indicatig the amount of Ether to mint on the rollup & its recipient.
61
+ /// @custom:emits Enter indicating the amount of Ether to mint on the rollup & its recipient.
62
62
function enter (uint256 rollupChainId , address rollupRecipient ) public payable {
63
63
emit Enter (rollupChainId, address (0 ), rollupRecipient, msg .value );
64
64
}
@@ -69,7 +69,7 @@ contract HostPassage {
69
69
/// @param rollupRecipient - The recipient of the Ether on the rollup.
70
70
/// @param token - The address of the ERC20 token on the Host.
71
71
/// @param amount - The amount of the ERC20 token to transfer to the rollup.
72
- /// @custom:emits Enter indicatig the amount of tokens to mint on the rollup & its recipient.
72
+ /// @custom:emits Enter indicating the amount of tokens to mint on the rollup & its recipient.
73
73
function enter (uint256 rollupChainId , address rollupRecipient , address token , uint256 amount ) public payable {
74
74
IERC20 (token).transferFrom (msg .sender , address (this ), amount);
75
75
emit Enter (rollupChainId, token, rollupRecipient, amount);
0 commit comments