diff --git a/app/mempool/senders_with_nonce.go b/app/mempool/senders_with_nonce.go index 1e3e74e221..360580f2b5 100644 --- a/app/mempool/senders_with_nonce.go +++ b/app/mempool/senders_with_nonce.go @@ -15,10 +15,10 @@ import ( // if tx is ethermint, it is extracted using from and nonce field // if it's cosmos tx, default cosmos way using signatures is used func GetSendersWithNonce(tx sdk.Tx) ([]SenderWithNonce, error) { - const extensionOptionsEthereumTxTypeUrl = "/ethermint.evm.v1.ExtensionOptionsEthereumTx" + const extensionOptionsEthereumTxTypeURL = "/ethermint.evm.v1.ExtensionOptionsEthereumTx" if txWithExtensions, ok := tx.(authante.HasExtensionOptionsTx); ok { opts := txWithExtensions.GetExtensionOptions() - if len(opts) > 0 && opts[0].GetTypeUrl() == extensionOptionsEthereumTxTypeUrl { + if len(opts) > 0 && opts[0].GetTypeUrl() == extensionOptionsEthereumTxTypeURL { for _, msg := range tx.GetMsgs() { if ethMsg, ok := msg.(*evmtypes.MsgEthereumTx); ok { return []SenderWithNonce{