removed additional_params method (#10818)
This commit is contained in:
@@ -38,7 +38,7 @@ pub use types::engines::ForkChoice;
|
||||
pub use types::engines::epoch::{self, Transition as EpochTransition};
|
||||
|
||||
use std::sync::{Weak, Arc};
|
||||
use std::collections::{BTreeMap, HashMap};
|
||||
use std::collections::BTreeMap;
|
||||
use std::{fmt, error};
|
||||
|
||||
use builtin::Builtin;
|
||||
@@ -543,11 +543,6 @@ pub trait Engine: Sync + Send {
|
||||
self.machine().verify_transaction_basic(t, header)
|
||||
}
|
||||
|
||||
/// Additional information.
|
||||
fn additional_params(&self) -> HashMap<String, String> {
|
||||
self.machine().additional_params()
|
||||
}
|
||||
|
||||
/// Performs pre-validation of RLP decoded transaction before other processing
|
||||
fn decode_transaction(&self, transaction: &[u8]) -> Result<UnverifiedTransaction, transaction::Error> {
|
||||
self.machine().decode_transaction(transaction)
|
||||
|
||||
Reference in New Issue
Block a user