Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Sep 30, 2024
1 parent 3d32f93 commit 7a0e069
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/taiko-client/proposer/proposer.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ func (p *Proposer) ProposeTxLists(ctx context.Context, txLists []types.Transacti
if err := p.rpc.WaitL1NewPendingTransaction(ctx, p.proposerAddress, nonce); err != nil {
log.Error("Failed to wait for new pending transaction", "error", err)
}
if !p.chainConfig.IsOntake(new(big.Int).Add(new(big.Int).SetUint64(state.B.NumBlocks), big.NewInt(7))) {
for i := 0; i < 7; i++ {
if !p.chainConfig.IsOntake(new(big.Int).Add(new(big.Int).SetUint64(state.B.NumBlocks), big.NewInt(11))) {
for i := 0; i < 11; i++ {
g.Go(func() error {
if err := p.ProposeTxListLegacy(gCtx, types.Transactions{}); err != nil {
return err
Expand All @@ -337,7 +337,7 @@ func (p *Proposer) ProposeTxLists(ctx context.Context, txLists []types.Transacti
return nil
})
}
if err := p.rpc.WaitL1NewPendingTransaction(ctx, p.proposerAddress, nonce+7); err != nil {
if err := p.rpc.WaitL1NewPendingTransaction(ctx, p.proposerAddress, nonce+11); err != nil {
log.Error("Failed to wait for new pending transaction", "error", err)
}
}
Expand Down

0 comments on commit 7a0e069

Please sign in to comment.