File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
crates/consensus/src/consensus Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ use crate::tables;
1414use crate :: vote_set:: VoteSet ;
1515
1616pub ( crate ) trait ConsensusReadDbOps {
17- fn get_finalized_round ( & self ) -> DbResult < BlockRound > ;
1817 fn get_current_round ( & self ) -> DbResult < BlockRound > ;
1918 fn get_consensus_params ( & self , round : BlockRound ) -> DbResult < ConsensusParams > {
2019 Ok ( self
@@ -126,13 +125,6 @@ impl<T> InsertOutcome<T> {
126125macro_rules! impl_consensus_read_db_ops {
127126 ( $t: ty) => {
128127 impl ConsensusReadDbOps for $t {
129- fn get_finalized_round( & self ) -> DbResult <BlockRound > {
130- // let tbl = self.open_table(&cons_finalized_round_count::TABLE)?;
131-
132- // Ok(tbl.get(&())?.map(|g| g.value()).unwrap_or_default())
133- todo!( )
134- }
135-
136128 fn get_current_round( & self ) -> DbResult <BlockRound > {
137129 let tbl = self . open_table( & tables:: cons_current_round:: TABLE ) ?;
138130
You can’t perform that action at this time.
0 commit comments