Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 57624ac

Browse files
author
Artyom
committed
Fix compilation without web and worker
1 parent 90449d7 commit 57624ac

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/node/Main.hs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ module Main where
55
import Data.List ((!!))
66
import Data.Maybe (fromJust)
77
import Mockable (Production)
8+
import Node (hoistSendActions)
89
import Serokell.Util (sec)
910
import System.Wlog (LoggerName, logInfo)
1011
import Universum
1112

1213
import Pos.Binary ()
1314
import qualified Pos.CLI as CLI
14-
import Pos.Communication (ActionSpec (..))
15+
import Pos.Communication (ActionSpec (..), OutSpecs, WorkerSpec, worker)
1516
import Pos.Constants (isDevelopment, staticSysStart)
1617
import Pos.Context (getNodeContext, ncUpdateSemaphore)
1718
import Pos.Crypto (SecretKey, VssKeyPair, keyGen, vssKeyGen)
@@ -27,20 +28,18 @@ import Pos.Ssc.GodTossing (GtParams (..), SscGodTossing,
2728
genesisDevVssKeyPairs)
2829
import Pos.Ssc.NistBeacon (SscNistBeacon)
2930
import Pos.Ssc.SscAlgo (SscAlgo (..))
31+
import Pos.Statistics (getNoStatsT, getStatsMap, runStatsT')
3032
import Pos.Types (Timestamp (Timestamp))
3133
import Pos.Util (inAssertMode, mappendPair)
3234
import Pos.Util.BackupPhrase (keysFromPhrase)
3335
import Pos.Util.UserSecret (UserSecret, peekUserSecret, usPrimKey, usVss,
3436
writeUserSecret)
37+
import Pos.WorkMode (ProductionMode, RawRealMode, StatsMode)
3538
#ifdef WITH_WEB
3639
import Pos.Web (serveWebBase, serveWebGT)
3740
import Pos.WorkMode (WorkMode)
3841
#ifdef WITH_WALLET
39-
import Node (hoistSendActions)
40-
import Pos.Communication (OutSpecs, WorkerSpec, worker)
41-
import Pos.Statistics (getNoStatsT, getStatsMap, runStatsT')
4242
import Pos.Wallet.Web (walletServeWebFull, walletServerOuts)
43-
import Pos.WorkMode (ProductionMode, RawRealMode, StatsMode)
4443
#endif
4544
#endif
4645

0 commit comments

Comments
 (0)