12 lines
337 B
Go
12 lines
337 B
Go
package types
|
|
|
|
import (
|
|
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
|
|
)
|
|
|
|
// HasDynamicFeeExtensionOption returns true if the tx implements the `ExtensionOptionDynamicFeeTx` extension option.
|
|
func HasDynamicFeeExtensionOption(any *codectypes.Any) bool {
|
|
_, ok := any.GetCachedValue().(*ExtensionOptionDynamicFeeTx)
|
|
return ok
|
|
}
|