From d164e285a207f0ae476769740fc416a34f4ebccd Mon Sep 17 00:00:00 2001 From: "Eugene Y. Q. Shen" Date: Sat, 28 Sep 2024 20:52:57 -0700 Subject: [PATCH] fix --- smart-wallets/src/extensions/AssetVault.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart-wallets/src/extensions/AssetVault.sol b/smart-wallets/src/extensions/AssetVault.sol index 48c46a5..d13c826 100644 --- a/smart-wallets/src/extensions/AssetVault.sol +++ b/smart-wallets/src/extensions/AssetVault.sol @@ -308,7 +308,7 @@ contract AssetVault is IAssetVault { revert InvalidExpiration(expiration, block.timestamp); } if (allowance.expiration != expiration) { - revert MismatchedExpiration(allowance.expiration, expiration); + revert MismatchedExpiration(expiration, allowance.expiration); } if (allowance.amount < amount) { revert InsufficientYieldAllowance(assetToken, beneficiary, allowance.amount, amount);