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);