refactor: use chain and protocol component from tycho_core::models
This commit is contained in:
@@ -19,7 +19,7 @@ impl SwapEncoderRegistry {
|
||||
/// executors' addresses in the file at the given path.
|
||||
pub fn new(
|
||||
executors_file_path: Option<String>,
|
||||
blockchain: tycho_core::dto::Chain,
|
||||
blockchain: tycho_core::models::Chain,
|
||||
) -> Result<Self, EncodingError> {
|
||||
let chain = Chain::from(blockchain);
|
||||
let config_str = if let Some(ref path) = executors_file_path {
|
||||
|
||||
Reference in New Issue
Block a user