Merge pull request #1112 from ripcurlx/Development

Fix InsufficientMoneyException when taking an offer
This commit is contained in:
Manfred Karrer 2017-12-21 12:26:43 +01:00 committed by GitHub
commit 94f93918da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,8 +372,10 @@ class TakeOfferDataModel extends ActivatableDataModel {
void fundFromSavingsWallet() {
useSavingsWallet = true;
updateBalance();
if (!isWalletFunded.get())
if (!isWalletFunded.get()) {
this.useSavingsWallet = false;
updateBalance();
}
}
void setIsCurrencyForTakerFeeBtc(boolean isCurrencyForTakerFeeBtc) {