mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-26 23:44:34 +00:00
Updated approve-auto-update.sh to use new service format
This commit is contained in:
parent
59346db427
commit
a7c02733ec
@ -7,7 +7,7 @@ fi
|
|||||||
|
|
||||||
printf "Searching for auto-update transactions to approve...\n";
|
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
|
if fgrep --silent '"approvalStatus":"PENDING"' <<< "${tx}"; then
|
||||||
true
|
true
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user