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.
This commit is contained in:
parazyd
2021-12-03 02:00:17 +01:00
parent 0ea17724f8
commit 6cbad936f7

View File

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