Skip to content

Commit

Permalink
add whenNotPaused
Browse files Browse the repository at this point in the history
  • Loading branch information
andresaiello committed Apr 10, 2024
1 parent 20b6520 commit 31f52bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/zevm/ZetaConnectorZEVM.sol
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ contract ZetaConnectorZEVM is ZetaConnectorBase {
* @dev Sends ZETA and bytes messages (to execute it) crosschain.
* @param input, SendInput struct, checkout above.
*/
function send(ZetaInterfaces.SendInput calldata input) external override {
function send(ZetaInterfaces.SendInput calldata input) external override whenNotPaused {
// Transfer wzeta to "fungible" module, which will be burnt by the protocol post processing via hooks.
if (!IWETH9(zetaToken).transferFrom(msg.sender, address(this), input.zetaValueAndGas))
revert WZETATransferFailed();
Expand Down

0 comments on commit 31f52bf

Please sign in to comment.