diff --git a/code/crates/engine/src/consensus.rs b/code/crates/engine/src/consensus.rs index eb7c8169a..2a2707957 100644 --- a/code/crates/engine/src/consensus.rs +++ b/code/crates/engine/src/consensus.rs @@ -668,17 +668,16 @@ where myself: &ActorRef>, height: Ctx::Height, round: Round, - timeout_duration: Duration, + timeout: Duration, ) -> Result<(), ActorProcessingErr> { // Call `GetValue` on the Host actor, and forward the reply // to the current actor, wrapping it in `Msg::ProposeValue`. self.host.call_and_forward( - |reply| HostMsg::GetValue { + |reply_to| HostMsg::GetValue { height, round, - timeout: timeout_duration, - address: self.params.address.clone(), - reply_to: reply, + timeout, + reply_to, }, myself, |proposed: LocallyProposedValue| { diff --git a/code/crates/engine/src/host.rs b/code/crates/engine/src/host.rs index e272de7a6..1a3173b1d 100644 --- a/code/crates/engine/src/host.rs +++ b/code/crates/engine/src/host.rs @@ -62,7 +62,6 @@ pub enum HostMsg { height: Ctx::Height, round: Round, timeout: Duration, - address: Ctx::Address, reply_to: RpcReplyPort>, }, diff --git a/code/crates/starknet/host/src/actor.rs b/code/crates/starknet/host/src/actor.rs index bc9d28616..c25ac25ff 100644 --- a/code/crates/starknet/host/src/actor.rs +++ b/code/crates/starknet/host/src/actor.rs @@ -134,7 +134,6 @@ impl Host { height, round, timeout, - address: _, reply_to, } => on_get_value(state, &self.network, height, round, timeout, reply_to).await,