diff --git a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java index a5fa44f9..e269d6de 100644 --- a/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java +++ b/src/main/java/com/sparrowwallet/sparrow/io/Hwi.java @@ -235,7 +235,7 @@ public class Hwi { private boolean testHwi(File hwiExecutable) { try { - List command = List.of(hwiExecutable.getAbsolutePath(), "enumerate"); + List command = List.of(hwiExecutable.getAbsolutePath(), "--version"); ProcessBuilder processBuilder = new ProcessBuilder(command); Process process = processBuilder.start(); int exitValue = process.waitFor();