diff --git a/.install/ipfs_alone.sh b/.install/ipfs_alone.sh index a7dec67..7d1433c 100644 --- a/.install/ipfs_alone.sh +++ b/.install/ipfs_alone.sh @@ -72,6 +72,8 @@ ipfs bootstrap add /ip6/fd42:feed:feed:feed::1/tcp/4001/p2p/Qmb6Gyy3KFWTxWh4v6fB sudo systemctl restart ipfs || err+="Restart IPFS daemon" +sleep 10 + [[ ! $(ipfs swarm peers) ]] && echo "${c_red}No peers found in swarm. Please open issue :https://git.p2p.legal/axiom-team/astroport/issues" && exit 1 } # this ensures the entire script is downloaded #