pancakeswap / pancake-v4-periphery-deprecated

GNU General Public License v2.0
13 stars 6 forks source link

fix: User Lose Native Token Test cases #61

Closed ChefSnoopy closed 3 months ago

ChefSnoopy commented 3 months ago

We need to check the whether extraAmount0 is equal to msg.value when user want to add extra native token balance. If not , user will lose the native token with number (msg.value - extraAmount0) when msg.value > extraAmount0