fix: inequality check for amountConsumed and amountIn

This commit is contained in:
royvardhan
2025-03-05 00:35:51 +05:30
parent ceef683202
commit 6f421eb374
2 changed files with 5 additions and 5 deletions

View File

@@ -895,7 +895,8 @@ contract TychoRouterTest is TychoRouterTestSetup {
vm.expectRevert(
abi.encodeWithSelector(
TychoRouter__AmountInNotFullySpent.selector, 400000000000000000
TychoRouter__AmountInDiffersFromConsumed.selector,
600000000000000000
)
);