File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
mithril-client/src/cardano_database_client Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 120
120
//! .await?;
121
121
//!
122
122
//! let allow_missing_immutables_files = false;
123
+ //! let merkle_proof = client
124
+ //! .cardano_database_v2()
125
+ //! .verify_cardano_database(
126
+ //! &certificate,
127
+ //! &cardano_database_snapshot,
128
+ //! &immutable_file_range,
129
+ //! allow_missing_immutables_files,
130
+ //! &target_directory,
131
+ //! &verified_digests
132
+ //! ).await?;
133
+ //!
134
+ //!
123
135
//! let message = MessageBuilder::new().compute_cardano_database_message(
124
136
//! &certificate,
125
- //! &cardano_database_snapshot,
126
- //! &immutable_file_range,
127
- //! allow_missing_immutables_files,
128
- //! &target_directory,
129
- //! &verified_digests,
137
+ //! &merkle_proof,
130
138
//! ).await?;
131
139
//! #
132
140
//! # Ok(())
You can’t perform that action at this time.
0 commit comments