Skip to content

Commit

Permalink
Merge pull request #6450 from jmacxx/dispute_min_payout
Browse files Browse the repository at this point in the history
Change minimum payout at mediation from 2.5% to 5% of trade amount.
  • Loading branch information
alejandrogarcia83 authored Dec 11, 2022
2 parents 6c7764f + e2a23ee commit 77afb2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/bisq/core/btc/wallet/Restrictions.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ public static Coin getMinSellerSecurityDepositAsCoin() {
public static Coin getMinRefundAtMediatedDispute(Coin tradeAmount) {
if (MIN_REFUND_AT_MEDIATED_DISPUTE == null)
MIN_REFUND_AT_MEDIATED_DISPUTE = Coin.parseCoin("0.0005"); // 0.0005 BTC is 30 USD @ 60000 USD/BTC
Coin twoPointFivePercentOfTradeAmount = tradeAmount.div(40);
if (twoPointFivePercentOfTradeAmount.isLessThan(MIN_REFUND_AT_MEDIATED_DISPUTE))
Coin fivePercentOfTradeAmount = tradeAmount.div(20);
if (fivePercentOfTradeAmount.isLessThan(MIN_REFUND_AT_MEDIATED_DISPUTE))
return MIN_REFUND_AT_MEDIATED_DISPUTE;
return twoPointFivePercentOfTradeAmount;
return fivePercentOfTradeAmount;
}

public static int getLockTime(boolean isAsset) {
Expand Down

0 comments on commit 77afb2d

Please sign in to comment.