<NME> payment.sh
<BEF> #!/bin/sh
#	method: payment
#	$1: short_channel_id
#	$2: amt_to_forward
#	$3: outgoing_cltv_value
#	$4: payment_hash
#	$5: node_id
DATE=`date +"%c %N"`
echo { \"method\": \"payment\", \"short_channel_id\": \"$1\", \"amt_to_forward\": $2, \"outgoing_cltv_value\": $3, \"payment_hash\": \"$4\", \"node_id\": \"$5\", \"date\": \"$DATE\" } | jq .
cat << EOS | jq -e '.'
{
    "method":"payment",
    "date":"$DATE",
    "short_channel_id":"$1",
    "node_id":"$2",
    "amt_to_forward":$3,
    "outgoing_cltv_value":$4,
    "payment_id":$5
}
EOS

<MSG> add connected.sh and revice scripts

<DFF> @@ -1,9 +1,9 @@
 #!/bin/sh
 #	method: payment
 #	$1: short_channel_id
-#	$2: amt_to_forward
-#	$3: outgoing_cltv_value
-#	$4: payment_hash
-#	$5: node_id
+#	$2: node_id
+#	$3: amt_to_forward
+#	$4: outgoing_cltv_value
+#	$5: payment_hash
 DATE=`date +"%c %N"`
-echo { \"method\": \"payment\", \"short_channel_id\": \"$1\", \"amt_to_forward\": $2, \"outgoing_cltv_value\": $3, \"payment_hash\": \"$4\", \"node_id\": \"$5\", \"date\": \"$DATE\" } | jq .
+echo { \"method\": \"payment\", \"short_channel_id\": \"$1\", \"node_id\": \"$2\", \"date\": \"$DATE\", \"amt_to_forward\": $3, \"debug\": \"outgoing_cltv_value=$4, payment_hash=$5\" } | jq .

{'addition_count': 5, 'commit_subject': 'add connected.sh and revice scripts', 'deletion_count': 5, 'file_extension': '.sh', 'lang': 'sh', 'license': 'apache-2.0', 'repo_name': 'nayutaco/ptarmigan'}