Permalink
Browse files

[DDW-256] Use correct frontendOnlyMode

  • Loading branch information...
nikolaglumac committed Jan 11, 2019
1 parent 3855350 commit 8d49ef8f631f96c31b6f9cec1f1f254c754e93e1
Showing with 1 addition and 2 deletions.
  1. +1 −2 source/main/index.js
@@ -17,7 +17,7 @@ import {
GO_TO_NETWORK_STATUS_SCREEN_CHANNEL
} from '../common/ipc/api';
import mainErrorHandler from './utils/mainErrorHandler';
import { launcherConfig } from './config';
import { launcherConfig, frontendOnlyMode } from './config';
import { setupCardano } from './cardano/setup';
import { CardanoNode } from './cardano/CardanoNode';
import { safeExitWithCode } from './utils/safeExitWithCode';
@@ -98,7 +98,6 @@ const onAppReady = async () => {

mainWindow = createMainWindow(isInSafeMode);

const { frontendOnlyMode } = launcherConfig;
const onCheckDiskSpace = ({ isNotEnoughDiskSpace }: CheckDiskSpaceResponse) => {
// Daedalus is not managing cardano-node in `frontendOnlyMode`
// so we don't have a way to stop it in case there is not enough disk space

0 comments on commit 8d49ef8

Please sign in to comment.