Skip to content

Commit

Permalink
feat: solve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Oct 10, 2024
1 parent 480e30f commit fe93465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ func (a *Aggregator) settleWithAggLayer(
a.logger.Debug("final proof signedTx: ", signedTx.Tx.ZKP.Proof.Hex())
txHash, err := a.aggLayerClient.SendTx(*signedTx)
if err != nil {
for errors.Is(err, ErrAgglayerRateLimitExceeded) {
for errors.Is(err, agglayer.ErrAgglayerRateLimitExceeded) {
a.logger.Warnf("agglayer rate limit exceeded, waiting for %v", a.cfg.AggLayerRateLimitRetryInterval.Duration)
time.Sleep(a.cfg.AggLayerRateLimitRetryInterval.Duration)
txHash, err = a.aggLayerClient.SendTx(*signedTx)
Expand Down

0 comments on commit fe93465

Please sign in to comment.