additive fees; burnSwapAmounts fix
This commit is contained in:
@@ -784,7 +784,7 @@ contract PartyPoolTest is Test {
|
||||
uint256 bobBefore = token0.balanceOf(bob);
|
||||
|
||||
// Call burnSwap where this contract is the payer (it holds initial LP from setUp)
|
||||
uint256 payout = pool.burnSwap(address(this), bob, lpToBurn, target, 0, false);
|
||||
(uint256 payout, ) = pool.burnSwap(address(this), bob, lpToBurn, target, 0, false);
|
||||
|
||||
// Payout must be > 0
|
||||
assertTrue(payout > 0, "burnSwap should produce a payout");
|
||||
|
||||
Reference in New Issue
Block a user