Submitted by hickuphh3, also found by shw
The FundsTransferred() event in _transferFunds() will report a smaller amount than expected if currentBalance > _amount.
This would affect applications utilizing event logs like subgraphs.
Recommend Updating the event emission to emit FundsTransferred(_yieldSource, currentBalance);
PierrickGT (PoolTogether) confirmed and patched:
