Severity: Low
Similarly to the Pancakeswap Masterchef contract, there is an issue in theemergencyWithdraw, where the syrup.burn() is not called. Thus, it is possiblefor an account who has staked Banana into the pool with pid 0 to useemergencyExit to withdraw the staked Banana without burning anyBananaSplitBar. This is done in the following steps:
Call enterStaking to stake Banana. This will deposit the user’s Banana andmint an equal amount of BananaSplitBar.
Call emergencyWithdraw. The staked Banana will be returned, butBananaSplitBar is not burned.
Repeat the 2 steps above.