Bugfixes and improvements

- Reactivate updateProposalList at onBlockAdded
- Use ArrayList instead of FilteredList at getSortedProposalList
- Update Predicates at onBlockAdded and onProtectedStorageEntry
- Remove isProposalPeriodValid, isBlindVotePeriodValid and isVoteRevealPeriodValid
- Remove isTxHeightInPhaseTest (removed buggy method)
This commit is contained in:
Manfred Karrer 2018-04-03 23:53:42 -05:00
parent bdaeec0ca3
commit c756acde53
No known key found for this signature in database
GPG key ID: 401250966A6B2C46

View file

@ -35,6 +35,8 @@ import bisq.core.dao.vote.proposal.ProposalPayload;
import bisq.core.dao.vote.proposal.ProposalService;
import bisq.core.locale.Res;
import bisq.common.UserThread;
import javax.inject.Inject;
import javafx.scene.Node;
@ -159,7 +161,7 @@ public abstract class BaseProposalView extends ActivatableView<GridPane, Void> i
@Override
public void onBlockAdded(BsqBlock bsqBlock) {
// Need delay otherwise we modify list while dispatching and cause a ConcurrentModificationException
//UserThread.execute(this::updateList);
UserThread.execute(this::updateProposalList);
}