Skip to content

Commit bc9250b

Browse files
author
Randy Grok
committed
remove enable method
1 parent 05e8ee7 commit bc9250b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/v2/cometbft/oe/optimistic_execution.go

-5
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"cosmossdk.io/core/server"
1414
"cosmossdk.io/core/store"
1515
"cosmossdk.io/core/transaction"
16-
1716
"cosmossdk.io/log"
1817
)
1918

@@ -75,10 +74,6 @@ func (oe *OptimisticExecution[T]) Reset() {
7574
oe.initialized = false
7675
}
7776

78-
func (oe *OptimisticExecution[T]) Enabled() bool {
79-
return oe != nil
80-
}
81-
8277
// Initialized returns true if the OE was initialized, meaning that it contains
8378
// a request and it was run or it is running.
8479
func (oe *OptimisticExecution[T]) Initialized() bool {

0 commit comments

Comments
 (0)