The order of discount_fee_percentage_buyer and discount_fee_percentage_seller was inverted. Now the function checks that seller_fee >= discount_fee_percentage_buyer, and that buyer_fee >= discount_fee_percentage_seller.
This could result in particular in the seller discount being greater than the seller fee, which would prevent all offers to be accepted on the marketplace.
The order of discount_fee_percentage_buyer and discount_fee_percentage_seller was inverted. Now the function checks that seller_fee >= discount_fee_percentage_buyer, and that buyer_fee >= discount_fee_percentage_seller. This could result in particular in the seller discount being greater than the seller fee, which would prevent all offers to be accepted on the marketplace.