From 1f3554ef65e5e891635017a7f8f6aacabe299cb9 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Thu, 22 Oct 2020 10:55:53 -0300 Subject: [PATCH] Remove redundant calculateTotalToPay() call Resolves issue found during https://github.com/bisq-network/bisq/pull/4673 review, and suggested in comment https://github.com/bisq-network/bisq/pull/4673#discussion_r510111662 --- core/src/main/java/bisq/core/offer/takeoffer/TakeOfferModel.java | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/main/java/bisq/core/offer/takeoffer/TakeOfferModel.java b/core/src/main/java/bisq/core/offer/takeoffer/TakeOfferModel.java index 8580bcd1856..efd0523ec19 100644 --- a/core/src/main/java/bisq/core/offer/takeoffer/TakeOfferModel.java +++ b/core/src/main/java/bisq/core/offer/takeoffer/TakeOfferModel.java @@ -146,7 +146,6 @@ private void calculateTxFees() { feeService.requestFees(() -> { txFeePerByteFromFeeService = feeService.getTxFeePerByte(); txFeeFromFeeService = offerUtil.getTxFeeBySize(txFeePerByteFromFeeService, feeTxSize); - calculateTotalToPay(); }); }