diff --git a/actors/datacap/src/lib.rs b/actors/datacap/src/lib.rs index 4b16bc7ec0..c25d3edd2f 100644 --- a/actors/datacap/src/lib.rs +++ b/actors/datacap/src/lib.rs @@ -391,9 +391,9 @@ where RT: Runtime, { fn actor_id(&self) -> ActorID { - // The Runtime unhelpfully wraps caller in an ID, while the Messaging trait + // The Runtime unhelpfully wraps receiver in an address, while the Messaging trait // is closer to the syscall interface. - self.rt.message().caller().id().unwrap() + self.rt.message().receiver().id().unwrap() } fn send(