Skip to content

Commit

Permalink
Set LineBuffering to light node stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimuuar committed Dec 18, 2020
1 parent 78e632a commit 76c0167
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hschain-utxo-pow-node/app/Light.hs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import Data.Yaml.Config
import System.Environment
import System.IO
import Hschain.Utxo.Pow.App

main :: IO ()
main = do
hSetBuffering stderr LineBuffering
hSetBuffering stdout LineBuffering
args <- getArgs
config <- loadYamlSettings args [] requireEnv
runLightNode genesisMock config

0 comments on commit 76c0167

Please sign in to comment.