fix: Make lanes mutually exclusive by default (#206)
* lanes always mutually exclusive * nit 1.0.0.0 * gg adding back interface --------- Co-authored-by: Alex Johnson <alex@skip.money>
This commit is contained in:
co-authored by
Alex Johnson
parent
f1beb215f7
commit
f607439637
+6
-3
@@ -265,12 +265,15 @@ func New(
|
||||
freeLane,
|
||||
defaultLane,
|
||||
}
|
||||
mempool := block.NewLanedMempool(
|
||||
mempool, err := block.NewLanedMempool(
|
||||
app.Logger(),
|
||||
true,
|
||||
lanes,
|
||||
&app.blocksdkKeeper,
|
||||
lanes...,
|
||||
)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
app.App.SetMempool(mempool)
|
||||
|
||||
// Create a global ante handler that will be called on each transaction when
|
||||
|
||||
Reference in New Issue
Block a user