mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +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 -> {
|
voteButton.setOnAction(e -> {
|
||||||
// TODO verify stake
|
// TODO verify stake
|
||||||
Coin stake = bsqFormatter.parseToCoin(stakeInputTextField.getText());
|
Coin stake = bsqFormatter.parseToCoin(stakeInputTextField.getText());
|
||||||
final Coin blindVoteFee = myBlindVoteService.getBlindVoteFee();
|
final Coin blindVoteFee = myBlindVoteService.getBlindVoteFeeForCycle();
|
||||||
Transaction dummyTx = null;
|
Transaction dummyTx = null;
|
||||||
try {
|
try {
|
||||||
// We create a dummy tx to get the mining blindVoteFee for confirmation popup
|
// 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);
|
PeriodService.addPeriodStateChangeListener(this);
|
||||||
|
|
||||||
// We need to delay as otherwise the periodService has not been updated yet.
|
// We need to delay as otherwise the periodService has not been updated yet.
|
||||||
UserThread.execute(() -> onPreParserChainHeightChanged(PeriodService.getChainHeight()));
|
UserThread.execute(() -> onChainHeightChanged(PeriodService.getChainHeight()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -138,7 +138,7 @@ public class ProposalDashboardView extends ActivatableView<GridPane, Void> imple
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPreParserChainHeightChanged(int height) {
|
public void onChainHeightChanged(int height) {
|
||||||
if (height > 0) {
|
if (height > 0) {
|
||||||
separatedPhaseBars.updateWidth();
|
separatedPhaseBars.updateWidth();
|
||||||
phaseBarsItems.forEach(item -> {
|
phaseBarsItems.forEach(item -> {
|
||||||
|
|
Loading…
Add table
Reference in a new issue