mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-28 20:42:41 +02:00
funding add info blockexplorer
This commit is contained in:
@@ -121,5 +121,16 @@ else
|
|||||||
echo "${result}"
|
echo "${result}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Whats next? --> You need to wait 6 confirmations, for the channel to be ready."
|
echo "Whats next? --> You need to wait 6 confirmations, for the channel to be ready."
|
||||||
|
fundingTX=$(echo "${result}" | grep 'funding_txid' | cut -d '"' -f4)
|
||||||
|
if [ "${network}" = "bitcoin" ]; then
|
||||||
|
if [ "${chain}" = "main" ]; then
|
||||||
|
echo "https://blockexplorer.com/tx/${fundingTX}"
|
||||||
|
else
|
||||||
|
echo "https://testnet.blockexplorer.com/tx/${fundingTX}"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ "${network}" = "litecoin" ]; then
|
||||||
|
echo "https://live.blockcypher.com/ltc/tx/${fundingTX}/"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
Reference in New Issue
Block a user