Merge pull request #6535 from jmacxx/fix_issue_6534

Fix: allow funds received in trade payout to be used for trading.
This commit is contained in:
Christoph Atteneder 2023-01-24 10:13:38 +01:00 committed by GitHub
commit 0fd1480b6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,12 +134,11 @@ public class BuyerStep4View extends TradeStepView {
.autoClose()
.show();
}
model.dataModel.btcWalletService.swapTradeEntryToAvailableEntry(trade.getId(), AddressEntry.Context.TRADE_PAYOUT);
}
private void handleTradeCompleted() {
closeButton.setDisable(true);
model.dataModel.btcWalletService.swapTradeEntryToAvailableEntry(trade.getId(), AddressEntry.Context.TRADE_PAYOUT);
openTradeFeedbackWindow();
}