Browse Source

peer select

#146
rootzoll 7 years ago
parent
commit
466a0f2d4b
  1. 6
      home.admin/BBopenChannel.sh

6
home.admin/BBopenChannel.sh

@ -42,8 +42,8 @@ OPTIONS=()
while IFS= read -r grepLine while IFS= read -r grepLine
do do
pubKey=$(echo ${grepLine} | cut -d '"' -f4) pubKey=$(echo ${grepLine} | cut -d '"' -f4)
echo "grepLine(${pubKey})" #echo "grepLine(${pubKey})"
OPTIONS+=(pubKey "") OPTIONS+=(${pubKey} "")
done < <(lncli listpeers | grep pub_key) done < <(lncli listpeers | grep pub_key)
TITLE="Open (Payment) Channel" TITLE="Open (Payment) Channel"
MENU="\nChoose a peer you connected to, to open the channel with: \n " MENU="\nChoose a peer you connected to, to open the channel with: \n "
@ -71,7 +71,7 @@ if [ $(echo "${error}" | grep "channel is too small" -c) -eq 1 ]; then
fi fi
# let user enter a amount # let user enter a amount
l1="Enter the amount in SATOSHI you want to fund this channel:" l1="Amount in SATOSHI to fund this channel:"
l2="min required : ${minSat}" l2="min required : ${minSat}"
l3="max available : ${confirmedBalance}" l3="max available : ${confirmedBalance}"
dialog --title "Funding of Channel" \ dialog --title "Funding of Channel" \

Loading…
Cancel
Save