From fa701f37dc21969c1d1a3b80bf7930aa22b213bc Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 24 Sep 2018 16:21:59 -0500 Subject: [PATCH] work on sockets --- onionr/onionrsockets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/onionrsockets.py b/onionr/onionrsockets.py index d58a6d21..fb96281c 100644 --- a/onionr/onionrsockets.py +++ b/onionr/onionrsockets.py @@ -121,7 +121,7 @@ class OnionrSocketClient: def startSocket(self, peer, reason): address = '' # Find the newest open socket for a given peer - for block in self._core.getBlocksByType('openSocket'): + for block in self._core.getBlocksByType('socket'): block = onionrblockapi.Block(block, core=self._myCore) if block.decrypt(): if block.verifySig() and block.signer == peer: