work on sockets

This commit is contained in:
Kevin Froman 2018-09-24 16:21:59 -05:00
parent 67b9f6e51f
commit fa701f37dc
1 changed files with 1 additions and 1 deletions

View File

@ -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: