|
@ -80,6 +80,7 @@ else |
|
|
rhash=$(echo "$result" | grep r_hash | cut -d '"' -f4) |
|
|
rhash=$(echo "$result" | grep r_hash | cut -d '"' -f4) |
|
|
payReq=$(echo "$result" | grep pay_req | cut -d '"' -f4) |
|
|
payReq=$(echo "$result" | grep pay_req | cut -d '"' -f4) |
|
|
echo "Give this Invoice/PaymentRequest to someone to pay it:" |
|
|
echo "Give this Invoice/PaymentRequest to someone to pay it:" |
|
|
|
|
|
echo "" |
|
|
echo ${payReq} |
|
|
echo ${payReq} |
|
|
echo "" |
|
|
echo "" |
|
|
echo "You can use 'lncli lookupinvoice ${rhash}' to check the payment. " |
|
|
echo "You can use 'lncli lookupinvoice ${rhash}' to check the payment. " |
|
|