diff --git a/src/wormhole/_boss.py b/src/wormhole/_boss.py index 3e1a843..709fd62 100644 --- a/src/wormhole/_boss.py +++ b/src/wormhole/_boss.py @@ -53,7 +53,7 @@ class Boss(object): self._S.wire(self._M) self._O.wire(self._K, self._R) self._K.wire(self, self._M, self._R) - self._R.wire(self, self._K, self._S) + self._R.wire(self, self._S) self._RC.wire(self, self._N, self._M, self._C, self._NL, self._T) self._NL.wire(self._RC, self._C) self._C.wire(self, self._RC, self._NL) diff --git a/src/wormhole/_receive.py b/src/wormhole/_receive.py index 83dc92a..389c0f4 100644 --- a/src/wormhole/_receive.py +++ b/src/wormhole/_receive.py @@ -18,9 +18,8 @@ class Receive(object): def __attrs_post_init__(self): self._key = None - def wire(self, boss, key, send): + def wire(self, boss, send): self._B = _interfaces.IBoss(boss) - self._K = _interfaces.IKey(key) self._S = _interfaces.ISend(send) @m.state(initial=True)