Improved confTarget arg on spend

This commit is contained in:
kexkey
2020-03-18 17:04:54 -04:00
parent 2cdf21e399
commit f50717227b
4 changed files with 7 additions and 5 deletions

View File

@@ -283,7 +283,7 @@ main() {
;;
spend)
# POST http://192.168.111.152:8080/spend
# BODY {"address":"2N8DcqzfkYi8CkYzvNNS5amoq3SbAcQNXKp","amount":0.00233,"eventMessage":"eyJ3aGF0ZXZlciI6MTIzfQo=","conf_target":6}
# BODY {"address":"2N8DcqzfkYi8CkYzvNNS5amoq3SbAcQNXKp","amount":0.00233,"eventMessage":"eyJ3aGF0ZXZlciI6MTIzfQo=","confTarget":6}
response=$(spend "${line}")
response_to_client "${response}" ${?}