[bisq-network/bisq] [WIP] Atomic bsq trades (#5729)
Christoph Atteneder
notifications at github.com
Tue Sep 28 11:08:10 CEST 2021
@ripcurlx commented on this pull request.
> + try {
+ Volume volumeByAmount = calculateVolumeForAmount(minAmount);
+
+ minVolume.set(volumeByAmount);
+
+ } catch (Throwable t) {
+ log.error(t.toString());
+ }
+ }
+ }
+
+ private Volume calculateVolumeForAmount(ObjectProperty<Coin> minAmount) {
+ Volume volumeByAmount = price.get().getVolumeByAmount(minAmount.get());
+
+ // For HalCash we want multiple of 10 EUR
+ if (paymentAccount.isHalCashAccount())
I guess the model needs some clean-up after copy & pasting :wink:
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5729#pullrequestreview-765173853
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210928/ebe67d5f/attachment.htm>
More information about the bisq-github
mailing list