Disable debug

This commit is contained in:
poka 2020-09-24 03:48:42 +02:00
parent 247be16ff4
commit ec71c56615
1 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@ scanTxWallets() {
local nbrMembersYesterday=$(cat "$startFile" | sed -e '1,/---/d' | sed -e '1,/---/d' | sed '/---/Q' | grep . | cut -d '|' -f 1)
local blockDateLast=$(cat "$startFile" | sed -e '1,/---/d' | sed -e '1,/---/d' | sed '/---/Q' | grep . | cut -d '|' -f 2)
#kopa [[ $lastBloc == $startBloc ]] && return
[[ $lastBloc == $startBloc ]] && return
rm $startFile
else
local startIter=0
@ -26,7 +26,7 @@ scanTxWallets() {
local startExec=$(($(date +%s%N)/1000000))
local bloc=${TXBLOCKS[$i]}
[[ -z $bloc ]] && break
[[ $i -lt 1193 ]] && continue #kopa
# [[ $i -lt 1193 ]] && continue #kopa
# Récupère la date et l'objet transaction du bloc courant
local blocFull=$(curl -s ${DUNITER}/blockchain/block/$bloc)
@ -217,7 +217,6 @@ scanTxWallets() {
[[ -z $firstScan ]] && echo "Scan des blocs avec transactions en cours ..." && local firstScan=true
fi
# [[ $i -ge 35949 ]] && break #kopa
break
done
[[ $blockDateLast == $blockDate ]] && applyToday