Remove old fee check code

This commit is contained in:
Manfred Karrer 2016-04-11 13:23:00 +02:00
parent d61719a0b4
commit 79927f0f1d
2 changed files with 4 additions and 3 deletions

View File

@ -88,7 +88,7 @@ class CreateOfferDataModel extends ActivatableDataModel {
final BooleanProperty isWalletFunded = new SimpleBooleanProperty();
//final BooleanProperty isMainNet = new SimpleBooleanProperty();
final BooleanProperty isFeeFromFundingTxSufficient = new SimpleBooleanProperty();
//final BooleanProperty isFeeFromFundingTxSufficient = new SimpleBooleanProperty();
// final ObjectProperty<Coin> feeFromFundingTxProperty = new SimpleObjectProperty(Coin.NEGATIVE_SATOSHI);
final ObjectProperty<Coin> amountAsCoin = new SimpleObjectProperty<>();

View File

@ -641,11 +641,12 @@ class CreateOfferViewModel extends ActivatableWithDataModel<CreateOfferDataModel
showTransactionPublishedScreen.get()) {
spinnerInfoText.set("");
} else if (dataModel.isWalletFunded.get()) {
if (dataModel.isFeeFromFundingTxSufficient.get()) {
spinnerInfoText.set("");
/* if (dataModel.isFeeFromFundingTxSufficient.get()) {
spinnerInfoText.set("");
} else {
spinnerInfoText.set("Check if funding tx miner fee is sufficient...");
}
}*/
} else {
spinnerInfoText.set("Waiting for funds...");
}