Submitted by WatchPug
When executing orders, the actual amountSpent + feesAmount can be lower than _inputTokenAmount, the unspent amount should be returned to the user.
However, in the current implementation, the unspent amount will be taken as part of the fee.
NestedFactory.sol L285-L309
Change to:
adrien-supizet (Nested) disputed and then confirmed:
alcueca (judge) commented:
