diff --git a/node/src/chain.rs b/node/src/chain.rs index f38365b358..086db131a4 100644 --- a/node/src/chain.rs +++ b/node/src/chain.rs @@ -97,7 +97,7 @@ impl ) .await?; - let acc = self.acceptor.as_mut().unwrap(); + let acc = self.acceptor.as_mut().expect("initialize is called"); acc.write().await.spawn_task().await; // Start-up FSM instance