diff --git a/client/src/lib.rs b/client/src/lib.rs index 2e5f664..b88745d 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -268,13 +268,16 @@ impl Frontend { bytes: query.as_bytes().to_vec(), }) .await? - else { - panic!("system response to user query") - }; + else { + panic!("system response to user query") + }; let _hash = loop { use linera_core::data_types::ClientOutcome::{Committed, WaitForTimeout}; - let timeout = match chain_client.execute_operations(operations.clone(), vec![]).await? { + let timeout = match chain_client + .execute_operations(operations.clone(), vec![]) + .await? + { Committed(certificate) => break certificate.value().hash(), WaitForTimeout(timeout) => timeout, }; diff --git a/examples/counter/index.html b/examples/counter/index.html index ca41e7e..e150048 100644 --- a/examples/counter/index.html +++ b/examples/counter/index.html @@ -31,7 +31,7 @@