Skip to content

Commit

Permalink
reduce wait for blockCompletion time to 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
shyam-patel-kira committed Jul 19, 2022
1 parent c199ec6 commit 60b3bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (*UtilsStruct) WaitForBlockCompletion(client *ethclient.Client, hashToRead
log.Info("Transaction mined successfully")
return nil
}
Time.Sleep(3 * time.Second)
Time.Sleep(time.Second)
}
log.Info("Timeout Passed")
return errors.New("timeout passed for transaction mining")
Expand Down

0 comments on commit 60b3bd5

Please sign in to comment.