Skip to content

Commit

Permalink
Increase Wait Time between Checks
Browse files Browse the repository at this point in the history
  • Loading branch information
joelsmith-2019 committed Oct 29, 2024
1 parent 01d167b commit c4253b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pkg/wormconn/send_tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func waitForBlockInclusion(ctx context.Context, client sdktx.ServiceClient, txHa
fmt.Println("JOEL - TIMED OUT ", txHash)
return nil, fmt.Errorf("timed out after: %d; wait for tx %s to be included in a block", waitTimeout, txHash)
// check if in block every second
case <-time.After(1000 * time.Millisecond):
case <-time.After(3000 * time.Millisecond):
res, err := client.GetTx(ctx, &sdktx.GetTxRequest{Hash: txHash})
if err == nil {
took := time.Since(now)
Expand Down

0 comments on commit c4253b1

Please sign in to comment.