فهرست منبع

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(())