Submitted by cmichel, also found by 0xsanson
The HybridPool.flashSwap function sends the entire trade fees fee to the barFeeTo.
It should only send barFee * fee to the barFeeTo address.
LPs are not getting paid at all when this function is used.
There is no incentive to provide liquidity.
The flashSwap function should use the same fee mechanism as swap and only send barFee * fee / MAX_FEE to the barFeeTo. See _handleFee function.
