Uniswap/permit2

Small test code bug

0xdavinchee opened this issue · 1 comments

AllowanceTransferTest.t.sol

testBatchTransferFromMultiToken
startBalanceTo1 is token0.balanceOf(address0); - should be: token1.balanceOf(address0);
assertEq(token0.balanceOf(address0), startBalanceTo1 + 1 ** 18); should be assertEq(token1.balanceOf(address0), startBalanceTo1 + 1 ** 18);

tests still pass when corrected

Oops, great catch!