* push * init * fix setup * format * fix test * use lane * ok * finalize * fix everything * lint fix: * Update abci/checktx/mempool_parity_check_tx.go Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com> * lint fix * tidy * remove * cleanup --------- Co-authored-by: David Terpay <david.terpay@gmail.com> Co-authored-by: David Terpay <35130517+davidterpay@users.noreply.github.com>
21 lines
312 B
Go
21 lines
312 B
Go
package base
|
|
|
|
import (
|
|
"context"
|
|
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
)
|
|
|
|
// DefaultTxPriority
|
|
func DefaultTxPriority() TxPriority[int] {
|
|
return TxPriority[int]{
|
|
GetTxPriority: func(_ context.Context, _ sdk.Tx) int {
|
|
return 0
|
|
},
|
|
Compare: func(_, _ int) int {
|
|
return 0
|
|
},
|
|
MinValue: 0,
|
|
}
|
|
}
|