Skip to content

Commit 22b50f9

Browse files
committed
PoA add missing flag for startup
1 parent 71afc31 commit 22b50f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/views/PoAView/usePoAProgramRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const usePoAProgramRunner = () => {
2626
const hiveInfo = Finder.one.in(getAccount.keyring).with({ type: 'hive' });
2727
const installDir = Path.join(os.homedir(), (await poaInstaller.current.getDefaultPath()) || '');
2828
const executablePath = Path.join(installDir, 'PoA.exe');
29-
command = `"${executablePath}" -node=2 -username=${hiveInfo.username} -useWS true -IPFS_PORT=5004`; // Assign command here
29+
command = `"${executablePath}" -node=2 -username=${hiveInfo.username} -useWS=true -IPFS_PORT=5004`; // Assign command here
3030
if (!runner.current) {
3131
runner.current = new ProgramRunner(command, (data: string) => {
3232
if (!isMountedRef.current) return;

0 commit comments

Comments
 (0)