diff --git a/core/src/main/java/haveno/core/offer/OpenOfferManager.java b/core/src/main/java/haveno/core/offer/OpenOfferManager.java index d1f576fabb..68ae22906b 100644 --- a/core/src/main/java/haveno/core/offer/OpenOfferManager.java +++ b/core/src/main/java/haveno/core/offer/OpenOfferManager.java @@ -1027,7 +1027,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe // handle sufficient available balance to split output boolean sufficientAvailableBalance = xmrWalletService.getAvailableBalance().compareTo(offerReserveAmount) >= 0; if (sufficientAvailableBalance) { - log.info("Splitting and scheduling outputs for offer {} at subaddress {}", openOffer.getShortId()); + log.info("Splitting and scheduling outputs for offer {}", openOffer.getShortId()); splitAndSchedule(openOffer); } else if (openOffer.getScheduledTxHashes() == null) { scheduleWithEarliestTxs(openOffers, openOffer); @@ -1040,10 +1040,10 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe MoneroTxWallet splitOutputTx = null; synchronized (XmrWalletService.WALLET_LOCK) { XmrAddressEntry entry = xmrWalletService.getOrCreateAddressEntry(openOffer.getId(), XmrAddressEntry.Context.OFFER_FUNDING); - log.info("Creating split output tx to fund offer {} at subaddress {}", openOffer.getShortId(), entry.getSubaddressIndex()); long startTime = System.currentTimeMillis(); for (int i = 0; i < TradeProtocol.MAX_ATTEMPTS; i++) { try { + log.info("Creating split output tx to fund offer {} at subaddress {}", openOffer.getShortId(), entry.getSubaddressIndex()); splitOutputTx = xmrWalletService.createTx(new MoneroTxConfig() .setAccountIndex(0) .setAddress(entry.getAddressString()) diff --git a/desktop/src/main/java/haveno/desktop/main/funds/withdrawal/WithdrawalView.java b/desktop/src/main/java/haveno/desktop/main/funds/withdrawal/WithdrawalView.java index 78318a1a23..63f17eb73b 100644 --- a/desktop/src/main/java/haveno/desktop/main/funds/withdrawal/WithdrawalView.java +++ b/desktop/src/main/java/haveno/desktop/main/funds/withdrawal/WithdrawalView.java @@ -261,11 +261,14 @@ public class WithdrawalView extends ActivatableView { // create tx if (amount.compareTo(BigInteger.ZERO) <= 0) throw new RuntimeException(Res.get("portfolio.pending.step5_buyer.amountTooLow")); + log.info("Creating withdraw tx"); + long startTime = System.currentTimeMillis(); MoneroTxWallet tx = xmrWalletService.createTx(new MoneroTxConfig() .setAccountIndex(0) .setAmount(amount) .setAddress(withdrawToAddress) .setSubtractFeeFrom(feeExcluded ? null : Arrays.asList(0))); + log.info("Done creating withdraw tx in {} ms", System.currentTimeMillis() - startTime); // create confirmation message BigInteger receiverAmount = tx.getOutgoingTransfer().getDestinations().get(0).getAmount();