File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,11 @@ impl MithrilClient {
159159 }
160160
161161 /// Call the client to get a snapshot from a digest
162+ ///
163+ /// @deprecated superseded by `get_cardano_database_v2_snapshot`
162164 #[ wasm_bindgen]
163165 pub async fn get_cardano_database_snapshot ( & self , digest : & str ) -> WasmResult {
166+ #[ allow( deprecated) ]
164167 let result = self
165168 . client
166169 . cardano_database ( )
@@ -175,8 +178,11 @@ impl MithrilClient {
175178 }
176179
177180 /// Call the client to get the list of available snapshots
181+ ///
182+ /// @deprecated superseded by `list_cardano_database_v2`
178183 #[ wasm_bindgen]
179184 pub async fn list_cardano_database_snapshots ( & self ) -> WasmResult {
185+ #[ allow( deprecated) ]
180186 let result = self
181187 . client
182188 . cardano_database ( )
You can’t perform that action at this time.
0 commit comments