Commit all pending changes to the database
(&mut self)
| 312 | } |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | pub async fn get_most_recent_finalized_header( |
| 317 | &self, |
| 318 | ) -> Option<FinalizedHeader<bls12381_multisig::Scheme<PublicKey, V>>> { |
| 319 | let latest_epoch = self.get_latest_finalized_header_epoch().await; |
| 320 | self.get_finalized_header(latest_epoch).await |
| 321 | } |