File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
internal/cardano-node/mithril-cardano-node-chain/src/chain_observer Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ use async_trait::async_trait;
22use thiserror:: Error ;
33
44use mithril_common:: StdError ;
5- use mithril_common:: crypto_helper:: { KesPeriod , OpCert } ;
5+ use mithril_common:: crypto_helper:: KesPeriod ;
66use mithril_common:: entities:: { ChainPoint , Epoch , StakeDistribution } ;
77
88use crate :: entities:: { ChainAddress , TxDatum } ;
@@ -43,11 +43,8 @@ pub trait ChainObserver: Sync + Send {
4343 & self ,
4444 ) -> Result < Option < StakeDistribution > , ChainObserverError > ;
4545
46- /// Retrieve the KES period of an operational certificate
47- async fn get_current_kes_period (
48- & self ,
49- _opcert : & OpCert ,
50- ) -> Result < Option < KesPeriod > , ChainObserverError > {
46+ /// Retrieve the current KES period
47+ async fn get_current_kes_period ( & self ) -> Result < Option < KesPeriod > , ChainObserverError > {
5148 Ok ( None )
5249 }
5350}
You can’t perform that action at this time.
0 commit comments