Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change minimum payout at mediation from 2.5% to 5% of trade amount. #6450

Merged
merged 1 commit into from Dec 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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