|
@ -32,6 +32,7 @@ chainIsReady=0 |
|
|
while [ ${chainIsReady} -eq 0 ] |
|
|
while [ ${chainIsReady} -eq 0 ] |
|
|
do |
|
|
do |
|
|
echo "*** Test if chaninnetwork is ready ..." |
|
|
echo "*** Test if chaninnetwork is ready ..." |
|
|
|
|
|
date +%s |
|
|
result=$(${network}-cli getblockchaininfo 2>error.out) |
|
|
result=$(${network}-cli getblockchaininfo 2>error.out) |
|
|
error=`cat error.out` |
|
|
error=`cat error.out` |
|
|
rm error.out |
|
|
rm error.out |
|
|