diff --git a/scripts/tx-gen/gen-multiple-txs.sh b/scripts/tx-gen/gen-multiple-txs.sh index d6d30804787..30d1934f1bd 100755 --- a/scripts/tx-gen/gen-multiple-txs.sh +++ b/scripts/tx-gen/gen-multiple-txs.sh @@ -6,7 +6,10 @@ set -e -[[ $# -eq 5 ]] || { echo "Usage: $0
"; exit 1; } +[[ $# -eq 5 ]] || { + echo "Usage: $0
" + exit 1 +} tx_in=$1 amount=$2 @@ -21,7 +24,7 @@ generate_exponential() { rate=$(echo "1 / $mean_interval" | bc -l) # Generate a random number between 0 and 1 using /dev/urandom - n=$(od -An -N4 -tu4 < /dev/urandom) + n=$(od -An -N4 -tu4