Fixes + docs

This commit is contained in:
g-homebase
2019-12-17 16:59:18 -05:00
committed by kexkey
parent 8b0954bf85
commit ae3e6ce9c5
6 changed files with 279 additions and 19 deletions

View File

@@ -29,9 +29,8 @@ confirmation() {
local returncode
local txid=${1}
local txn_payload
local tx_details
txn_payload="$(get_transaction ${txid})"
tx_details="$(get_transaction ${txid})"
returncode=$?
trace_rc ${returncode}
trace "[confirmation] tx_details=${tx_details}"
@@ -39,9 +38,6 @@ confirmation() {
trace "[confirmation] Transaction not in watcher, exiting."
return 0
fi
# We need make sure to discard error results generated by get_transction tryin to find a watching wallet's `txn in
# spender wallet first,return code will tell if there's an actaul error. See #153
tx_details="$(echo $txn_payload | jq '. | select(.result != null)')"
########################################################################################################
# First of all, let's make sure we're working on watched addresses...
local address