Skip to content

Commit

Permalink
Fix InvalidFeeInput match
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest committed Aug 28, 2023
1 parent 5d449b8 commit 5728de6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frame/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1000,9 +1000,9 @@ impl From<TransactionValidationError> for InvalidTransactionWrapper {
TransactionValidationError::TxNonceTooHigh => {
InvalidTransactionWrapper(InvalidTransaction::Future)
}
TransactionValidationError::InvalidFeeInput => {
InvalidTransactionWrapper(InvalidTransaction::Payment)
}
TransactionValidationError::InvalidFeeInput => InvalidTransactionWrapper(
InvalidTransaction::Custom(TransactionValidationError::InvalidFeeInput as u8),
),
TransactionValidationError::InvalidChainId => InvalidTransactionWrapper(
InvalidTransaction::Custom(TransactionValidationError::InvalidChainId as u8),
),
Expand Down

0 comments on commit 5728de6

Please sign in to comment.