This commit is contained in:
Manfred Karrer 2018-04-22 00:09:47 -05:00
parent 930573a6dd
commit 8a3e8c7a96
No known key found for this signature in database
GPG key ID: 401250966A6B2C46
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -127,7 +127,7 @@ public class ProposalDashboardView extends ActivatableView<GridPane, Void> 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<GridPane, Void> imple
}
@Override
public void onPreParserChainHeightChanged(int height) {
public void onChainHeightChanged(int height) {
if (height > 0) {
separatedPhaseBars.updateWidth();
phaseBarsItems.forEach(item -> {