fix
This commit is contained in:
@@ -28,6 +28,7 @@ for path in $pathlist; do
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
|
||||||
if [[ $http_status_code -eq 200 ]]; then
|
if [[ $http_status_code -eq 200 ]]; then
|
||||||
|
response=$(cat "$response_file")
|
||||||
latest_block_number=$(echo "$response" | jq -r '.result.number')
|
latest_block_number=$(echo "$response" | jq -r '.result.number')
|
||||||
latest_block_number_decimal=$((16#${latest_block_number#0x}))
|
latest_block_number_decimal=$((16#${latest_block_number#0x}))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user