Sfoglia il codice sorgente

client: Add debug message before applying state.

Currently the program is either not entering this function for some
weird reason, or there's a silent failure inside the function which
is not coming up. Needs investigation.
parazyd 4 anni fa
parent
commit
6cbad936f7
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/client.rs

+ 1 - 0
src/client.rs

@@ -261,6 +261,7 @@ impl Client {
         let update = state_transition(st, tx)?;
         debug!("Successfully passed state_transition");
         let mut st = state.lock().await;
+        debug!("Trying to apply the new state");
         st.apply(update, secret_keys, notify, wallet).await?;
         debug!("Successfully passed state.apply");
         Ok(())