Fixed sqlite3 replaceable bool and rawtx with LF in DB

This commit is contained in:
kexkey
2020-08-21 11:05:12 -04:00
parent b24c2bd36e
commit 86095a765d
5 changed files with 26 additions and 26 deletions

View File

@@ -66,7 +66,7 @@ confirmation() {
local tx=$(sql "SELECT id FROM tx WHERE txid=\"${txid}\"")
local id_inserted
local tx_raw_details=$(get_rawtransaction ${txid})
local tx_raw_details=$(get_rawtransaction ${txid} | tr -d '\n')
local tx_nb_conf=$(echo "${tx_details}" | jq -r '.result.confirmations // 0')
# Sometimes raw tx are too long to be passed as paramater, so let's write