Skip to content

Commit

Permalink
fix start time
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdtf committed Dec 17, 2024
1 parent f2d3fd5 commit 474a798
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/transaction_scaling/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ const contractCode = `
func main() {
// set up context and flow client
ctx := context.Background()
startTime := time.Now()
flowClient, err := grpc.NewClient(grpc.TestnetHost)
examples.Handle(err)

Expand All @@ -99,6 +98,8 @@ func main() {
txChan <- i
}

startTime := time.Now()

var wg sync.WaitGroup
// start the workers
for i := 0; i < numProposalKeys; i++ {
Expand Down

0 comments on commit 474a798

Please sign in to comment.