Commit b45d6e07 authored by zeroleak's avatar zeroleak
Browse files

cleanup

parent 4aa0c65d
......@@ -41,10 +41,6 @@ public class Application implements ApplicationRunner {
@Autowired CliService cliService;
public static void main(String... args) {
if (log.isDebugEnabled()) {
log.debug("Main... " + Arrays.toString(args));
}
// override configuration with local file
System.setProperty(
"spring.config.location",
......
......@@ -29,7 +29,14 @@ public class CliStatusOrchestrator extends AbstractOrchestrator {
@Override
protected void runOrchestrator() {
interactive();
printState();
new Thread(
() -> {
interactive();
},
"cliStatusOrchestrator-interactive")
.start();
}
public void interactive() {
......@@ -68,7 +75,7 @@ public class CliStatusOrchestrator extends AbstractOrchestrator {
MixingState mixingState = whirlpoolWallet.getMixingState();
WhirlpoolWalletConfig walletConfig = whirlpoolWallet.getConfig();
System.out.println(
System.out.print(
"⣿ Wallet OPENED, mix "
+ (mixingState.isStarted() ? "STARTED" : "STOPPED")
+ (walletConfig.isAutoTx0() ? " +autoTx0=" + walletConfig.getAutoTx0PoolId() : "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment