From 4b75879cf8fff88506ddacccd2a42e9b9ede8357 Mon Sep 17 00:00:00 2001
From: Robert Martin-Legene <robert@nic.ar>
Date: Thu, 10 Oct 2019 17:58:12 -0300
Subject: [PATCH] backwards compatibility

---
 bin/libbfa.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/libbfa.sh b/bin/libbfa.sh
index 9b363b6..7291525 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 --network ${BFANETWORKID} --cache 0 --datadir "${BFANODEDIR}" init "${BFANETWORKDIR}/genesis.json"
     fi
 }
 
-- 
GitLab