Small LN refactoring and retrying SQL requests on failures...

This commit is contained in:
kexkey
2021-10-27 15:01:58 -04:00
parent fc3fadf59f
commit 801af8c1ce
3 changed files with 74 additions and 72 deletions

View File

@@ -62,7 +62,7 @@ send_to_bitcoin_node()
result=$(curl -m 20 -s --config ${config} -H "Content-Type: application/json" -d "${data}" ${node_url})
returncode=$?
trace_rc ${returncode}
trace "[send_to_bitcoin_node] result=${result}"
# trace "[send_to_bitcoin_node] result=${result}"
if [ "${returncode}" -eq 0 ]; then
# Node responded, let's see if we got an error message from the node