mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Cleanup
This commit is contained in:
parent
930573a6dd
commit
8a3e8c7a96
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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 -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue