From ebb3f4f7f9d9ff5b2e1475dd763c2a859c55f05c Mon Sep 17 00:00:00 2001 From: kexkey Date: Tue, 28 Jul 2020 17:44:01 -0400 Subject: [PATCH] Better response on batchspend --- proxy_docker/app/script/batching.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy_docker/app/script/batching.sh b/proxy_docker/app/script/batching.sh index 94fd3b2..eb6a616 100644 --- a/proxy_docker/app/script/batching.sh +++ b/proxy_docker/app/script/batching.sh @@ -468,7 +468,7 @@ batchspend() { trace "[batchspend] total=${total}" response='{"result":{"batcherId":'${batcher_id}',"confTarget":'${conf_target}',"nbOutputs":'${count}',"oldest":"'${oldest}'","total":'${total} - response="${response},\"txid\":\"${txid}\",\"hash\":${tx_hash},\"details\":{\"firstseen\":${tx_ts_firstseen},\"size\":${tx_size},\"vsize\":${tx_vsize},\"replaceable\":${tx_replaceable},\"fee\":${fees}},\"outputs\":{${recipientsjson}}}" + response="${response},\"txid\":\"${txid}\",\"hash\":${tx_hash},\"details\":{\"firstseen\":${tx_ts_firstseen},\"size\":${tx_size},\"vsize\":${tx_vsize},\"replaceable\":${tx_replaceable},\"fee\":${fees}},\"outputs\":[${webhooks_data}]}" response="${response},\"error\":null}" # Delete the temp file containing the raw tx (see above)