mirror of
https://github.com/luxfi/sudoamm.git
synced 2026-07-25 16:17:09 +00:00
Merge branch 'audit-fix/avoid-utilizing' into all-audit-fixes
This commit is contained in:
+4
-4
@@ -367,7 +367,7 @@ contract LSSVMRouter {
|
||||
// So we just send that much
|
||||
remainingValue -= swapList[i].pair.swapTokenForAnyNFTs{
|
||||
value: pairCost
|
||||
}(swapList[i].numItems, nftRecipient, false, address(0));
|
||||
}(swapList[i].numItems, nftRecipient, true, msg.sender);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -414,7 +414,7 @@ contract LSSVMRouter {
|
||||
// So we just send that much
|
||||
remainingValue -= swapList[i].pair.swapTokenForSpecificNFTs{
|
||||
value: pairCost
|
||||
}(swapList[i].nftIds, nftRecipient, false, address(0));
|
||||
}(swapList[i].nftIds, nftRecipient, true, msg.sender);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -640,7 +640,7 @@ contract LSSVMRouter {
|
||||
// because otherwise the deduction from remainingValue will fail
|
||||
remainingValue -= swapList[i].pair.swapTokenForAnyNFTs{
|
||||
value: pairCost
|
||||
}(swapList[i].numItems, nftRecipient, false, address(0));
|
||||
}(swapList[i].numItems, nftRecipient, true, msg.sender);
|
||||
}
|
||||
|
||||
// Return remaining value to sender
|
||||
@@ -677,7 +677,7 @@ contract LSSVMRouter {
|
||||
// because otherwise the deduction from remainingValue will fail
|
||||
remainingValue -= swapList[i].pair.swapTokenForSpecificNFTs{
|
||||
value: pairCost
|
||||
}(swapList[i].nftIds, nftRecipient, false, address(0));
|
||||
}(swapList[i].nftIds, nftRecipient, true, msg.sender);
|
||||
}
|
||||
|
||||
// Return remaining value to sender
|
||||
|
||||
Reference in New Issue
Block a user