Преглед изворни кода

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 година
родитељ
комит
6cbad936f7
1 измењених фајлова са 1 додато и 0 уклоњено
  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(())