min sat for btc channel

This commit is contained in:
rootzoll 2018-08-22 21:12:24 +02:00
parent fa15c4a635
commit fb02b24622

View File

@ -65,6 +65,9 @@ fi
# TODO find a better way - also consider dust and channel reserve
# details see here: https://github.com/btcontract/lnwallet/issues/52
minSat=20000
if [ "${network}" = "bitcoin" ]; then
minSat=250000
fi
_error="./.error.out"
lncli openchannel ${CHOICE} 1 0 2>$_error
error=`cat ${_error}`