12 lines
352 B
Plaintext
12 lines
352 B
Plaintext
function wait_for_pool_registration {
|
|
source /scripts/functions/check_pool_registration
|
|
|
|
echo "Waiting for the blockchain to register the pool."
|
|
while true; do
|
|
if [ -n "$(check_pool_registration)" ]; then
|
|
break
|
|
fi
|
|
echo "Blockchain has not yet registered the pool. Waiting.."
|
|
sleep 10
|
|
done
|
|
} |