mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 13:14:56 +01:00
Added details on spending tx when spending
This commit is contained in:
@@ -72,7 +72,7 @@ spend() {
|
||||
trace_rc $?
|
||||
|
||||
data="{\"status\":\"accepted\""
|
||||
data="${data},\"hash\":\"${txid}\"}"
|
||||
data="${data},\"hash\":\"${txid}\",\"details\":{\"firstseen\":${tx_ts_firstseen},\"amount\":${amount},\"size\":${tx_size},\"vsize\":${tx_vsize},\"replaceable\":${tx_replaceable},\"fee\":${fees}}}"
|
||||
|
||||
# Delete the temp file containing the raw tx (see above)
|
||||
rm spend-rawtx-${txid}.blob
|
||||
|
||||
Reference in New Issue
Block a user