Skip to content

Commit

Permalink
Merge pull request #1541 from txpipe/feat/kes_period
Browse files Browse the repository at this point in the history
  • Loading branch information
jpraynaud authored Mar 12, 2024
2 parents ef22aa8 + 4e87a39 commit 0945639
Show file tree
Hide file tree
Showing 5 changed files with 205 additions and 71 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mithril-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-common"
version = "0.3.15"
version = "0.3.16"
description = "Common types, interfaces, and utilities for Mithril nodes."
authors = { workspace = true }
edition = { workspace = true }
Expand Down
13 changes: 2 additions & 11 deletions mithril-common/src/chain_observer/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,8 @@ impl ChainObserverBuilder {
.to_owned(),
))),
ChainObserverType::Pallas => {
let fallback = CardanoCliChainObserver::new(
self.cardano_cli_runner
.as_ref()
.ok_or(ChainObserverBuilderError::MissingCardanoCliRunner)?
.to_owned(),
);
let observer = PallasChainObserver::new(
&self.cardano_node_socket_path,
self.cardano_network,
fallback,
);
let observer =
PallasChainObserver::new(&self.cardano_node_socket_path, self.cardano_network);
Ok(Arc::new(observer))
}
#[cfg(any(test, feature = "test_tools"))]
Expand Down
Loading

0 comments on commit 0945639

Please sign in to comment.