Write out miner node's multiaddr with docker network IP

This commit is contained in:
Prathamesh Musale 2023-08-07 10:09:19 +05:30
parent 0aef56c411
commit af1a1a269f

View File

@ -33,7 +33,7 @@ echo "Daemon started."
cp /devgen.car /root/.lotus-shared
# publish bootnode peer info to shared volume
lotus net listen | awk 'NR==1{print}' > /root/.lotus-shared/miner.addr
lotus net listen | awk 'NR==2{print}' > /root/.lotus-shared/miner.addr
# if miner not already initialized
if [ ! -d $LOTUS_MINER_PATH ]; then