Skip to content

Commit

Permalink
replace time in txgen.conf instead of txgen.list
Browse files Browse the repository at this point in the history
after following up on this a bit, I discovered that the line of json we should be updating is actually in the conf file
  • Loading branch information
jredbeard authored Aug 14, 2018
1 parent 306b9dc commit dae6a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/testnetinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ sleep 120
if [ ! $USE_SNAPSHOT_TIME ]; then
setDate=`date +%Y-%m-%dT%H:%M:%S -d "4 days ago"`
tmp=$(mktemp)
jq --arg setDate $setDate '.start_time = $setDate' txgen.list > "$tmp" && mv "$tmp" txgen.list
jq --arg setDate $setDate '.start_time = $setDate' txgen.conf > "$tmp" && mv "$tmp" txgen.conf
fi

# pipe the transactions through keysub and into the fastgen node
Expand Down

0 comments on commit dae6a8d

Please sign in to comment.