Skip to content
Snippets Groups Projects
Commit 126dc086 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Moving repeat into libbfa.sh

parent e1e66bd0
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,11 @@ function prereq
test $err -eq 0
}
function repeat
{
printf -- "$2%0.s" $( seq 1 $1 )
}
function gen_genesis
{
local genesis="${BFAHOME}/src/genesis.json"
......
......@@ -3,11 +3,6 @@
if [ -z "${BFAHOME}" ]; then echo "\$BFAHOME not set. Did you source bfa/bin/env ?" >&2; exit 1; fi
source ${BFAHOME}/bin/libbfa.sh || exit 1
function repeat
{
printf -- "$2%0.s" $( seq 1 $1 )
}
bootnodeid=6c81b38551fec2f1142b58ed65137cc1b7dfdc7b35bc556ef26604c41e30fcdeb12212b3c19913584f71dc7bf87d76cd67fa523e96996c0f148390fb76fdc5f7
bootnodev6=2800:40:1:6::135
bootnodev4=200.68.65.135
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment