From 21e1526aee2b44c26a962c237973f570eac79996 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@nic.ar> Date: Mon, 30 Sep 2019 19:44:37 -0300 Subject: [PATCH] Luchando con el networkid --- bin/libbfa.sh | 2 +- bin/singlestart.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/libbfa.sh b/bin/libbfa.sh index 9e4ed5e..7a4ba80 100644 --- a/bin/libbfa.sh +++ b/bin/libbfa.sh @@ -197,7 +197,7 @@ function bfainit then mkdir -p "${BFANODEDIR}" echo "Node is not initialised. Initialising with genesis." - geth --config "${BFANETWORKDIR}/config.toml" --cache 0 init "${BFANETWORKDIR}/genesis.json" + geth --config "${BFANETWORKDIR}/config.toml" --networkid ${BFANETWORKID} --cache 0 init "${BFANETWORKDIR}/genesis.json" fi } diff --git a/bin/singlestart.sh b/bin/singlestart.sh index d8fb623..0a36157 100755 --- a/bin/singlestart.sh +++ b/bin/singlestart.sh @@ -89,7 +89,7 @@ exec > ${LOGPIPE} 2>&1 echo "*** Starting geth." # "NoPruning=true" means "--gcmode archive" -geth --config ${BFATOML} & +geth --networkid ${BFANETWORKID} --config ${BFATOML} & PIDIDX[$!]="geth" # bootnode -- GitLab