From a7c02733ec20c7c30a7b1f8eb2d00ed81962741e Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sat, 22 Jan 2022 19:40:13 +0000 Subject: [PATCH] Updated approve-auto-update.sh to use new service format --- tools/approve-auto-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/approve-auto-update.sh b/tools/approve-auto-update.sh index 232fc099..cbfa280d 100755 --- a/tools/approve-auto-update.sh +++ b/tools/approve-auto-update.sh @@ -7,7 +7,7 @@ fi printf "Searching for auto-update transactions to approve...\n"; -tx=$( curl --silent --url "http://localhost:${port}/arbitrary/search?txGroupId=1&service=1&confirmationStatus=CONFIRMED&limit=1&reverse=true" ); +tx=$( curl --silent --url "http://localhost:${port}/arbitrary/search?txGroupId=1&service=AUTO_UPDATE&confirmationStatus=CONFIRMED&limit=1&reverse=true" ); if fgrep --silent '"approvalStatus":"PENDING"' <<< "${tx}"; then true else