diff --git a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesFinalDelayedPayoutTx.java b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesFinalDelayedPayoutTx.java index 969edf5c5b..56f8ba7c44 100644 --- a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesFinalDelayedPayoutTx.java +++ b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesFinalDelayedPayoutTx.java @@ -76,8 +76,12 @@ public class BuyerVerifiesFinalDelayedPayoutTx extends TradeTask { if (!buyersDelayedPayoutTx.getTxId().equals(finalDelayedPayoutTx.getTxId())) { String errorMsg = "TxIds of buyersDelayedPayoutTx and finalDelayedPayoutTx must be the same."; - log.error("{} \nbuyersDelayedPayoutTx={}, \nfinalDelayedPayoutTx={}", - errorMsg, buyersDelayedPayoutTx, finalDelayedPayoutTx); + log.error("{} \nbuyersDelayedPayoutTx={}, \nfinalDelayedPayoutTx={}, " + + "\nBtcWalletService.chainHeight={}, \nDaoState.chainHeight={}", + errorMsg, buyersDelayedPayoutTx, finalDelayedPayoutTx, + processModel.getBtcWalletService().getBestChainHeight(), + processModel.getDaoFacade().getChainHeight()); + throw new IllegalArgumentException(errorMsg); } } diff --git a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesPreparedDelayedPayoutTx.java b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesPreparedDelayedPayoutTx.java index a1563e0642..d55690b640 100644 --- a/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesPreparedDelayedPayoutTx.java +++ b/core/src/main/java/bisq/core/trade/protocol/bisq_v1/tasks/buyer/BuyerVerifiesPreparedDelayedPayoutTx.java @@ -67,8 +67,11 @@ public class BuyerVerifiesPreparedDelayedPayoutTx extends TradeTask { lockTime); if (!buyersPreparedDelayedPayoutTx.getTxId().equals(sellersPreparedDelayedPayoutTx.getTxId())) { String errorMsg = "TxIds of buyersPreparedDelayedPayoutTx and sellersPreparedDelayedPayoutTx must be the same."; - log.error("{} \nbuyersPreparedDelayedPayoutTx={}, \nsellersPreparedDelayedPayoutTx={}", - errorMsg, buyersPreparedDelayedPayoutTx, sellersPreparedDelayedPayoutTx); + log.error("{} \nbuyersPreparedDelayedPayoutTx={}, \nsellersPreparedDelayedPayoutTx={}, " + + "\nBtcWalletService.chainHeight={}, \nDaoState.chainHeight={}", + errorMsg, buyersPreparedDelayedPayoutTx, sellersPreparedDelayedPayoutTx, + processModel.getBtcWalletService().getBestChainHeight(), + processModel.getDaoFacade().getChainHeight()); throw new IllegalArgumentException(errorMsg); } }