cleaned validateaddress in requesthandler

This commit is contained in:
kexkey
2021-11-23 12:16:27 -05:00
parent 9bfdfa0008
commit 4251a0c153

View File

@@ -327,8 +327,7 @@ main() {
# GET http://192.168.111.152:8080/validateaddress/tb1p5cyxnuxmeuwuvkwfem96lqzszd02n6xdcjrs20cac6yqjjwudpxqp3mvzv
response=$(validateaddress $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3))
response_to_client "${response}" ${?}
break
returncode=$?
;;
spend)
# POST http://192.168.111.152:8080/spend