RML14
This commit is contained in:
parent
7a18f76c4f
commit
01dc1f88bb
|
@ -3,4 +3,7 @@ g1sms.priv.key
|
|||
shell/init.sh
|
||||
*~
|
||||
wallets/
|
||||
|
||||
shell/trash/
|
||||
wallets_swarm/
|
||||
history.*
|
||||
TAG/
|
||||
|
|
|
@ -98,7 +98,7 @@ fi
|
|||
###########################################
|
||||
# PAY VIR + PERCENT G1
|
||||
ML=$(bc -l <<< "scale=2; $VIR + $PERCENT")
|
||||
PAY=$(./shell/timeout.sh -t 20 ./silkaj/silkaj transaction --auth-scrypt -salt="$PHONE" -password="$PIN" --amount="$ML" --output="$MASTERPUB" --comment="[G1sms+] ACHAT $3 G1Tag(s) - $2 $UNIT" -y)
|
||||
PAY=$(./shell/timeout.sh -t 29 ./silkaj/silkaj transaction --auth-scrypt -salt="$PHONE" -password="$PIN" --amount="$ML" --output="$MASTERPUB" --comment="[G1sms+] ACHAT $3 G1Tag(s) - $2 $UNIT" -y)
|
||||
if [[ "$PAY" == "" || "$(echo $PAY | cut -d '|' -f 1)" == "KO" ]]; then
|
||||
new=$(./shell/checknodes.sh "BAN")
|
||||
sms_ERROR "$PHONE" "Il est survenu un problème lors de votre virement: $PAY / Silkaj: $new";
|
||||
|
|
Loading…
Reference in New Issue