Open placer14 opened 5 years ago
This sounds like it's working as intended and blocking the release of funds in a situation when it can't. Since the moderator can change his fee structure at any time, he could reduce his fee and complete the dispute resolution.
I was able to produce a sufficiently small transaction with a moderator whose fee was larger than the initial transaction amount. When the already opened dispute was being resolved by the moderator, the following error occurred:
Possible solutions:
The daemon should protect against the selection of a moderator whose fee would exceed some upper bound (modeled as a percentage of the total amount of the transaction). (Follow up questions: How is this default percentage set? What should it be? Can it be overridden?
The moderator has the ability to override their fee on a dispute-by-dispute basis. A fee override can ONLY be lower than what was advertised and never higher. This requires some UX, but the moderator might be shown their percentage as part of the overall dispute resolution. Something like: Total Amount - (Moderator Fee Fields) = Disputable Amount and then let the Buyer/Vendor percentages take from the Disputable Amount. When the Moderator Fee Fields are changed to a lower valid amount, the Disputable Amount is automatically recalculated.