Skip to content

Commit 5dd62b0

Browse files
author
blackjok3r
committed
cheeckmasks fix
1 parent 74b7afa commit 5dd62b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

checkmasks

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ if [[ ! -z ${1} ]]; then
1010
rpc=7776
1111
if [[ "${ac}" != "" ]]; then
1212
rpc=$(jq -r --arg chain ${ac} '.[] | select (.ac_name == $chain) | .iguana_rpc' <<<"${ac_json}")
13-
curl --url "http://127.0.0.1:${rpc}" --data "{\"agent\":\"dpow\",\"method\":\"active\",\"symbol\":\"${ac}\"}" #| jq -c -r .[]
13+
curl --url "http://127.0.0.1:${rpc}" --data "{\"agent\":\"dpow\",\"method\":\"active\",\"symbol\":\"${ac}\"}" | jq -c -r .[]
1414
else
15-
curl --url "http://127.0.0.1:${rpc}" --data "{\"agent\":\"dpow\",\"method\":\"active\",\"maskhex\":\"${1}\"}" #| jq -c -r .
15+
echo "currently crashes iguana, please do not use."
16+
#curl --url "http://127.0.0.1:${rpc}" --data "{\"agent\":\"dpow\",\"method\":\"active\",\"maskhex\":\"${1}\"}" | jq -c -r .
1617
fi
1718
else
1819
echo "./checkmasks COIN - shows masks for specfic smartchain"

0 commit comments

Comments
 (0)