From 72b55f429a6c8040eab9b211a77820d804284068 Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Mon, 26 Dec 2022 12:21:20 -0500 Subject: [PATCH] Move log before super handler to maintain correct order of logs Signed-off-by: HenrikJannsen --- .../java/bisq/core/trade/protocol/bisq_v1/SellerProtocol.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/SellerProtocol.java b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/SellerProtocol.java index a3e4fd90d6f..46a4a74fd15 100644 --- a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/SellerProtocol.java +++ b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/SellerProtocol.java @@ -167,11 +167,11 @@ public void onPaymentReceived(ResultHandler resultHandler, ErrorMessageHandler e @Override protected void onTradeMessage(TradeMessage message, NodeAddress peer) { - super.onTradeMessage(message, peer); - log.info("Received {} from {} with tradeId {} and uid {}", message.getClass().getSimpleName(), peer, message.getTradeId(), message.getUid()); + super.onTradeMessage(message, peer); + if (message instanceof DelayedPayoutTxSignatureResponse) { handle((DelayedPayoutTxSignatureResponse) message, peer); } else if (message instanceof ShareBuyerPaymentAccountMessage) {