Skip to content

Commit

Permalink
Move TRADE_PAYOUT funds to available when trade completes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacxx committed Jan 22, 2023
1 parent 975210d commit 8744f14
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,11 @@ protected void addContent() {
.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();
}

Expand Down

0 comments on commit 8744f14

Please sign in to comment.