Skip to content

Commit

Permalink
use new bytes(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
auryn-macmillan committed Jul 19, 2023
1 parent ec4f6a5 commit 5cb1a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/contracts/contracts/ExitModule/ExitBase.sol
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract contract ExitBase is Module, IExitBase, IERC165 {
// @param amount to transfer
function transferNativeAsset(address to, uint256 amount) private {
require(
exec(to, amount, bytes(""), Enum.Operation.Call),
exec(to, amount, new bytes(0), Enum.Operation.Call),
"Error on native asset transfer"
);
}
Expand Down

0 comments on commit 5cb1a40

Please sign in to comment.