diff --git a/linera-client/src/client_context.rs b/linera-client/src/client_context.rs index b4d4c01d2d1..887ec93aaa8 100644 --- a/linera-client/src/client_context.rs +++ b/linera-client/src/client_context.rs @@ -435,6 +435,7 @@ where loop { // Try applying f. Return if committed. + client.prepare_chain().await?; let result = f(client).await; self.update_and_save_wallet(client).await?; let timeout = match result? {