Skip to content

Commit ae257fd

Browse files
committed
fix
1 parent b681e8b commit ae257fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

block/internal/reaping/reaper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
coreexecutor "github.com/evstack/ev-node/core/execution"
1717
coresequencer "github.com/evstack/ev-node/core/sequencer"
1818
"github.com/evstack/ev-node/pkg/genesis"
19-
"github.com/evstack/ev-node/pkg/sequencers/solo"
19+
seqcommon "github.com/evstack/ev-node/pkg/sequencers/common"
2020
)
2121

2222
const (
@@ -194,7 +194,7 @@ func (r *Reaper) drainMempool(cleanupCh <-chan time.Time) (bool, error) {
194194
Id: []byte(r.chainID),
195195
Batch: &coresequencer.Batch{Transactions: newTxs},
196196
})
197-
if errors.Is(err, solo.ErrQueueFull) {
197+
if errors.Is(err, seqcommon.ErrQueueFull) {
198198
// Sequencer queue is full — backpressure signal. Mark the
199199
// batch as "seen" so we don't waste cycles re-hashing the
200200
// same dropped txs every reaper tick, and surface the drop

0 commit comments

Comments
 (0)