This commit is contained in:
maskpp
2023-02-09 14:51:20 +08:00
parent bce93a020d
commit ddb6bf36f4
4 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ BEGIN:
return err
}
for msg := msgs[0]; len(msgs) > 0; {
for msg := msgs[0]; len(msgs) > 0; { //nolint:staticcheck
// If pending txs pool is full, wait a while and retry.
if r.sender.IsFull() {
log.Warn("layer1 submitted tx sender is full")

View File

@@ -29,7 +29,7 @@ BEGIN:
return err
}
for batch := batches[0]; len(batches) > 0; {
for batch := batches[0]; len(batches) > 0; { //nolint:staticcheck
// If pending txs pool is full, wait a while and retry.
if r.rollupSender.IsFull() {
log.Error("layer2 committed tx sender is full")

View File

@@ -33,7 +33,7 @@ BEGIN:
return err
}
for batch := batches[0]; len(batches) > 0; {
for batch := batches[0]; len(batches) > 0; { //nolint:staticcheck
// If pending txs pool is full, wait a while and retry.
if r.rollupSender.IsFull() {
log.Warn("layer2 finalized tx sender is full")

View File

@@ -42,7 +42,7 @@ BEGIN:
return err
}
for msg := msgs[0]; len(msgs) > 0; {
for msg := msgs[0]; len(msgs) > 0; { //nolint:staticcheck
// If pending txs pool is full, wait a while and retry.
if r.messageSender.IsFull() {
log.Error("layer2 message tx sender is full")