Skip to content

Commit

Permalink
fix lane
Browse files Browse the repository at this point in the history
  • Loading branch information
beer-1 committed Aug 14, 2024
1 parent 90d66e4 commit 971506e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/blocksdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ func setupBlockSDK(
blockbase.WithAnteHandler(anteHandler),
}
for _, lane := range lanes {
lane.(*blockbase.BaseLane).WithOptions(opt...)
if blane, ok := lane.(*blockbase.BaseLane); ok {
blane.WithOptions(opt...)
} else if mlane, ok := lane.(*mevlane.MEVLane); ok {
mlane.WithOptions(opt...)
}
}

mevCheckTx := blockchecktx.NewMEVCheckTxHandler(
Expand Down

0 comments on commit 971506e

Please sign in to comment.