unwatch the xpubs!

This commit is contained in:
kexkey
2019-03-04 15:39:02 -05:00
committed by kexkey
parent 24c4621ef1
commit ac124cca75
3 changed files with 74 additions and 5 deletions

View File

@@ -254,7 +254,7 @@ extend_watchers() {
local last_imported_n
local row
row=$(sql "SELECT pub32, label, derivation_path, callback0conf, callback1conf, last_imported_n FROM watching_by_pub32 WHERE id=${watching_by_pub32_id}")
row=$(sql "SELECT pub32, label, derivation_path, callback0conf, callback1conf, last_imported_n FROM watching_by_pub32 WHERE id=${watching_by_pub32_id} AND watching")
returncode=$?
trace_rc ${returncode}