From 391777d5bfaa83011b330172c37698a6e62a3f0f Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Fri, 15 Jun 2018 13:18:37 -0500 Subject: [PATCH] fix test app config and swap olympic for rinkeby as testnet option Signed-off-by: VoR0220 --- lib/cmds/blockchain/geth_commands.js | 4 ++-- test_apps/test_app/config/blockchain.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/cmds/blockchain/geth_commands.js b/lib/cmds/blockchain/geth_commands.js index ab71fda80..bf94cf228 100644 --- a/lib/cmds/blockchain/geth_commands.js +++ b/lib/cmds/blockchain/geth_commands.js @@ -47,8 +47,8 @@ class GethCommands { let cmd; if (config.networkType === 'testnet') { cmd = "--testnet"; - } else if (config.networkType === 'olympic') { - cmd = "--olympic"; + } else if (config.networkType === 'rinkeby') { + cmd = "--rinkeby"; } else if (config.networkType === 'custom') { cmd = "--networkid=" + config.networkId; } diff --git a/test_apps/test_app/config/blockchain.json b/test_apps/test_app/config/blockchain.json index 5835745d3..b8a39c8fb 100644 --- a/test_apps/test_app/config/blockchain.json +++ b/test_apps/test_app/config/blockchain.json @@ -25,7 +25,10 @@ "testnet": { "networkType": "testnet", "rpcHost": "localhost", - "rpcPort": 8545 + "rpcPort": 8545, + "account": { + "password": "config/development/password" + } }, "livenet": { "networkType": "livenet",