From 977dc5edf8fde5b439f3d800de31175a7f03c97a Mon Sep 17 00:00:00 2001 From: Igor Mandrigin Date: Tue, 2 Oct 2018 12:08:32 +0200 Subject: [PATCH] LES Mode: Fix config so that node starts properly. Signed-off-by: Igor Mandrigin --- src/status_im/constants.cljs | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/status_im/constants.cljs b/src/status_im/constants.cljs index ee5ce46743..745f6a8876 100644 --- a/src/status_im/constants.cljs +++ b/src/status_im/constants.cljs @@ -37,8 +37,9 @@ (def mainnet-networks {"mainnet" {:id "mainnet", :name "Mainnet", - :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) - :DataDir "/ethereum/mainnet"}} + :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) + :DataDir "/ethereum/mainnet" + :LightEthConfig {:Enabled true}}} "mainnet_rpc" {:id "mainnet_rpc", :name "Mainnet with upstream RPC", :config {:NetworkId (ethereum/chain-keyword->chain-id :mainnet) @@ -49,8 +50,9 @@ (def testnet-networks {"testnet" {:id "testnet", :name "Ropsten", - :config {:NetworkId (ethereum/chain-keyword->chain-id :testnet) - :DataDir "/ethereum/testnet"}} + :config {:NetworkId (ethereum/chain-keyword->chain-id :testnet) + :DataDir "/ethereum/testnet" + :LightEthConfig {:Enabled true}}} "testnet_rpc" {:id "testnet_rpc", :name "Ropsten with upstream RPC", :config {:NetworkId (ethereum/chain-keyword->chain-id :testnet) @@ -59,8 +61,9 @@ :URL "https://ropsten.infura.io/z6GCTmjdP3FETEJmMBI4"}}} "rinkeby" {:id "rinkeby", :name "Rinkeby", - :config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby) - :DataDir "/ethereum/rinkeby"}} + :config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby) + :DataDir "/ethereum/rinkeby" + :LightEthConfig {:Enabled true}}} "rinkeby_rpc" {:id "rinkeby_rpc", :name "Rinkeby with upstream RPC", :config {:NetworkId (ethereum/chain-keyword->chain-id :rinkeby)