mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Remove hasSufficientPeersForBroadcast check from OfferBookView
This commit is contained in:
parent
fab97fcaf8
commit
93ef9e6963
2 changed files with 1 additions and 5 deletions
|
@ -430,7 +430,7 @@ public class OfferBookView extends ActivatableViewAndModel<GridPane, OfferBookVi
|
|||
}
|
||||
|
||||
private void onTakeOffer(Offer offer) {
|
||||
if (model.isBootstrapped() && model.hasSufficientPeersForBroadcast())
|
||||
if (model.isBootstrapped())
|
||||
offerActionHandler.onTakeOffer(offer);
|
||||
else
|
||||
new Popup<>().information(Res.get("popup.warning.notFullyConnected")).show();
|
||||
|
|
|
@ -258,10 +258,6 @@ class OfferBookViewModel extends ActivatableViewModel {
|
|||
return p2PService.isBootstrapped();
|
||||
}
|
||||
|
||||
boolean hasSufficientPeersForBroadcast() {
|
||||
return walletsSetup.hasSufficientPeersForBroadcast();
|
||||
}
|
||||
|
||||
TradeCurrency getSelectedTradeCurrency() {
|
||||
return selectedTradeCurrency;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue