mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 21:25:06 +01:00
Fixes + docs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user