debug off

This commit is contained in:
poka 2020-09-21 06:39:45 +02:00
parent bd2b6abf99
commit ab09f2d85e
1 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@ indexhtml="$WEBPATH/index.html"
echo -e "\n############# $day à $startTime #############\n"
[[ -z $(which jq) || -z $(which bc) || -z $(which curl) ]] && sudo apt update && sudo apt install jq bc curl
echo "Initialisation ..."
TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
#TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
#TXBLOCKS=$(cat $SCRIPTPATH/db/txblocs) #kopa
TXBLOCKS=$(curl -s ${DUNITER}/blockchain/with/tx | jq '.result.blocks[]')
TXBLOCKS=($(echo "$TXBLOCKS" | sort -hu | awk '{printf $1" "}'))
unset 'TXBLOCKS[${#TXBLOCKS[@]}-1]'
echo "TXBLOCKS OK"
@ -42,7 +42,7 @@ source $SCRIPTPATH/lib/functions.sh
source $SCRIPTPATH/lib/scanTxWallets.sh
### Extraction des adresses Ḡ1 actives
scanTxWallets #kopa
scanTxWallets
### Calcul la somme des soldes portefeuilles et membres
sumSoldes