From 5d121d6a6ab486ab50aacbdb6f4c81aeab00b9e1 Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Fri, 20 Sep 2024 15:19:57 +0000 Subject: [PATCH] DaemonProcess: Remove Bisq 2 dependency --- .../main/java/bisq/wallets/regtest/process/DaemonProcess.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wallets/bitcoind/regtest/src/main/java/bisq/wallets/regtest/process/DaemonProcess.java b/wallets/bitcoind/regtest/src/main/java/bisq/wallets/regtest/process/DaemonProcess.java index 4db2f64155..e03f2100c2 100644 --- a/wallets/bitcoind/regtest/src/main/java/bisq/wallets/regtest/process/DaemonProcess.java +++ b/wallets/bitcoind/regtest/src/main/java/bisq/wallets/regtest/process/DaemonProcess.java @@ -17,7 +17,6 @@ package bisq.wallets.regtest.process; -import bisq.common.threading.ThreadName; import bisq.wallets.regtest.LogScanner; import lombok.Getter; import lombok.extern.slf4j.Slf4j; @@ -63,7 +62,7 @@ public void shutdown() { protected void waitUntilReady() { FutureTask waitingFuture = new FutureTask<>(() -> { - ThreadName.set(this, "waitUntilLogContainsLines"); + Thread.currentThread().setName("waitUntilLogContainsLines"); return waitUntilLogContainsLines(); }); Thread waitingThread = new Thread(waitingFuture);