From 8a3e8c7a9642ab397ee1843b8dd528c0519b7971 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Sun, 22 Apr 2018 00:09:47 -0500 Subject: [PATCH] Cleanup --- .../desktop/main/dao/proposal/active/ActiveProposalsView.java | 2 +- .../main/dao/proposal/dashboard/ProposalDashboardView.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java b/src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java index e2f0607fbf..05fec53729 100644 --- a/src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java +++ b/src/main/java/bisq/desktop/main/dao/proposal/active/ActiveProposalsView.java @@ -128,7 +128,7 @@ public class ActiveProposalsView extends BaseProposalView implements BsqBalanceL voteButton.setOnAction(e -> { // TODO verify stake Coin stake = bsqFormatter.parseToCoin(stakeInputTextField.getText()); - final Coin blindVoteFee = myBlindVoteService.getBlindVoteFee(); + final Coin blindVoteFee = myBlindVoteService.getBlindVoteFeeForCycle(); Transaction dummyTx = null; try { // We create a dummy tx to get the mining blindVoteFee for confirmation popup diff --git a/src/main/java/bisq/desktop/main/dao/proposal/dashboard/ProposalDashboardView.java b/src/main/java/bisq/desktop/main/dao/proposal/dashboard/ProposalDashboardView.java index 1cd8bac068..08136e38e5 100644 --- a/src/main/java/bisq/desktop/main/dao/proposal/dashboard/ProposalDashboardView.java +++ b/src/main/java/bisq/desktop/main/dao/proposal/dashboard/ProposalDashboardView.java @@ -127,7 +127,7 @@ public class ProposalDashboardView extends ActivatableView imple PeriodService.addPeriodStateChangeListener(this); // We need to delay as otherwise the periodService has not been updated yet. - UserThread.execute(() -> onPreParserChainHeightChanged(PeriodService.getChainHeight())); + UserThread.execute(() -> onChainHeightChanged(PeriodService.getChainHeight())); } @Override @@ -138,7 +138,7 @@ public class ProposalDashboardView extends ActivatableView imple } @Override - public void onPreParserChainHeightChanged(int height) { + public void onChainHeightChanged(int height) { if (height > 0) { separatedPhaseBars.updateWidth(); phaseBarsItems.forEach(item -> {