Skip to content

Commit

Permalink
Fix error name
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAR2 committed Dec 12, 2024
1 parent 4e57648 commit 4106139
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions crates/ethcore/src/engines/authority_round/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,6 @@ pub struct AuthorityRoundParams {
pub fees_contract_transitions: BTreeMap<u64, Address>,
}

const TX_FEE_EVENT_NAME: &'static [u8] = &*b"TxFee(address,uint256)";

lazy_static! {
static ref TX_FEE_EVENT_NAME_HASH: H256 = keccak(TX_FEE_EVENT_NAME);
}

const U16_MAX: usize = ::std::u16::MAX as usize;

/// The number of recent block hashes for which the gas limit override is memoized.
Expand Down
2 changes: 1 addition & 1 deletion crates/ethcore/src/machine/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ impl EthereumMachine {
if !is_airdao_tx {
if let Some(price) = gas_price {
if t.tx().gas_price < price {
return Err(transaction::Error::InsufficientGas { minimal: price, got: t.tx().gas_price });
return Err(transaction::Error::InsufficientGasPrice { minimal: price, got: t.tx().gas_price });
}
}
}
Expand Down

0 comments on commit 4106139

Please sign in to comment.