Skip to content

Commit 4dca128

Browse files
author
Damien LACHAUME / PALO-IT
committed
Fix after review
1 parent 92aa85f commit 4dca128

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mithril-client-wasm/src/client_wasm.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ impl MithrilClient {
7070
}
7171

7272
/// Call the client to get a snapshot from a digest
73+
#[wasm_bindgen]
7374
pub async fn get_snapshot(&self, digest: &str) -> WasmResult {
7475
let result = self
7576
.client
@@ -198,6 +199,8 @@ impl MithrilClient {
198199
}
199200
}
200201

202+
// The tests are commented for now, as we don't want to run them on a testnet aggregator.
203+
/*
201204
#[cfg(test)]
202205
mod tests {
203206
use super::*;
@@ -433,3 +436,4 @@ mod tests {
433436
}
434437
*/
435438
}
439+
*/

0 commit comments

Comments
 (0)