From 700adee71150bf8a1eb791901d90c8e919cf377d Mon Sep 17 00:00:00 2001 From: HashEngineering Date: Wed, 3 Jan 2024 21:29:50 -0600 Subject: [PATCH] tests(coinjoin): add dry run check to CoinJoinSessionTest --- .../test/java/org/bitcoinj/coinjoin/CoinJoinSessionTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/test/java/org/bitcoinj/coinjoin/CoinJoinSessionTest.java b/core/src/test/java/org/bitcoinj/coinjoin/CoinJoinSessionTest.java index 30080880f..3c6862663 100644 --- a/core/src/test/java/org/bitcoinj/coinjoin/CoinJoinSessionTest.java +++ b/core/src/test/java/org/bitcoinj/coinjoin/CoinJoinSessionTest.java @@ -345,6 +345,8 @@ public void sessionTest() throws Exception { CoinJoinBroadcastTx broadcastTx = CoinJoin.getDSTX(mixingTx.getTxId()); assertNotNull(broadcastTx); + assertTrue(clientManager.doAutomaticDenominating(true)); + if (clientManager.isMixing()) { clientManager.stopMixing(); }