mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-28 09:24:15 -04:00
log cleanup
This commit is contained in:
parent
f53a4e5fad
commit
b50238a805
2 changed files with 5 additions and 2 deletions
|
@ -261,11 +261,14 @@ public class WithdrawalView extends ActivatableView<VBox, Void> {
|
|||
|
||||
// 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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue