diff --git a/crates/ethcore/src/engines/authority_round/mod.rs b/crates/ethcore/src/engines/authority_round/mod.rs index 0dc456b32f..6e935ad15e 100644 --- a/crates/ethcore/src/engines/authority_round/mod.rs +++ b/crates/ethcore/src/engines/authority_round/mod.rs @@ -150,12 +150,6 @@ pub struct AuthorityRoundParams { pub fees_contract_transitions: BTreeMap, } -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. diff --git a/crates/ethcore/src/machine/impls.rs b/crates/ethcore/src/machine/impls.rs index 1a5f8020ed..c5eb64b6cb 100644 --- a/crates/ethcore/src/machine/impls.rs +++ b/crates/ethcore/src/machine/impls.rs @@ -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 }); } } }