add logs when trade taken and payment account decrypted (#1861)

This commit is contained in:
woodser 2025-07-14 11:56:11 -04:00 committed by GitHub
parent b0ecc628e3
commit ccbe2d2fe1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ public class TradeEvents {
} }
private void setTradePhaseListener(Trade trade) { private void setTradePhaseListener(Trade trade) {
if (isInitialized) log.info("We got a new trade. id={}", trade.getId()); if (isInitialized) log.info("We got a new trade, tradeId={}", trade.getId(), "hasBuyerAsTakerWithoutDeposit=" + trade.getOffer().hasBuyerAsTakerWithoutDeposit());
if (!trade.isPayoutPublished()) { if (!trade.isPayoutPublished()) {
trade.statePhaseProperty().addListener((observable, oldValue, newValue) -> { trade.statePhaseProperty().addListener((observable, oldValue, newValue) -> {
String msg = null; String msg = null;

View file

@ -55,7 +55,7 @@ public class ProcessDepositsConfirmedMessage extends TradeTask {
// decrypt seller payment account payload if key given // decrypt seller payment account payload if key given
if (request.getSellerPaymentAccountKey() != null && trade.getTradePeer().getPaymentAccountPayload() == null) { if (request.getSellerPaymentAccountKey() != null && trade.getTradePeer().getPaymentAccountPayload() == null) {
log.info(trade.getClass().getSimpleName() + " decrypting using seller payment account key"); log.info("Decrypting seller payment account payload for {} {}", trade.getClass().getSimpleName(), trade.getShortId());
trade.decryptPeerPaymentAccountPayload(request.getSellerPaymentAccountKey()); trade.decryptPeerPaymentAccountPayload(request.getSellerPaymentAccountKey());
} }