From e2f9009fce42791427abb8ab52f6d3a7643285f3 Mon Sep 17 00:00:00 2001 From: chimp1984 Date: Mon, 7 Dec 2020 10:33:41 -0500 Subject: [PATCH] Remove dev log, fix typo in log --- core/src/main/java/bisq/core/trade/Trade.java | 2 -- .../protocol/tasks/buyer/BuyerSetupDepositTxListener.java | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/main/java/bisq/core/trade/Trade.java b/core/src/main/java/bisq/core/trade/Trade.java index 19ae07f99a4..f6f7ecd0e2c 100644 --- a/core/src/main/java/bisq/core/trade/Trade.java +++ b/core/src/main/java/bisq/core/trade/Trade.java @@ -491,8 +491,6 @@ protected Trade(Offer offer, txFeeAsLong = txFee.value; takerFeeAsLong = takerFee.value; takeOfferDate = new Date().getTime(); - - log.error("New trade created with offerId={} and Uid={}", offer.getId(), uid); } diff --git a/core/src/main/java/bisq/core/trade/protocol/tasks/buyer/BuyerSetupDepositTxListener.java b/core/src/main/java/bisq/core/trade/protocol/tasks/buyer/BuyerSetupDepositTxListener.java index 42b8ff4baa9..9c6bfa2b744 100644 --- a/core/src/main/java/bisq/core/trade/protocol/tasks/buyer/BuyerSetupDepositTxListener.java +++ b/core/src/main/java/bisq/core/trade/protocol/tasks/buyer/BuyerSetupDepositTxListener.java @@ -129,14 +129,14 @@ private boolean isConfTxDepositTx(@Nullable TransactionConfidence confidence, .filter(txId -> txId.equals(takerFeeTxId) || txId.equals(makerFeeTxId)) .count(); if (takerFeeTxId == null && numInputMatches != 1) { - log.warn("We got a transactionConfidenceTx which does not match our inputs. " + + log.warn("We got a transactionConfidenceTx which does not match our inputs. " + "takerFeeTxId is null (valid if role is buyer as maker) and numInputMatches " + "is not 1 as expected (for makerFeeTxId). " + "numInputMatches={}, transactionConfidenceTx={}", numInputMatches, walletTx); return false; } else if (takerFeeTxId != null && numInputMatches != 2) { - log.warn("We got a transactionConfidenceTx which does not match our inputs. " + + log.warn("We got a transactionConfidenceTx which does not match our inputs. " + "numInputMatches is not 2 as expected (for makerFeeTxId and takerFeeTxId). " + "numInputMatches={}, transactionConfidenceTx={}", numInputMatches, walletTx);