Skip to content
This repository has been archived by the owner on Jun 17, 2020. It is now read-only.

Round fiat volume #146

Merged
merged 2 commits into from Aug 15, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion src/main/java/bisq/core/offer/OfferUtil.java
Expand Up @@ -178,7 +178,6 @@ private static Coin getAdjustedAmount(Coin amount, Price price, long maxTradeLim

// We want only 4 decimal places
long rounded = Math.round((double) amount.value / 10000d) * 10000;

if (rounded > maxTradeLimit) {
// If we are above out trade limit we reduce the amount by the correlating 10 EUR volume
rounded = Math.min(maxTradeLimit, rounded - amountByVolumeRoundedToFactor.value);
Expand Down