diff --git a/src/sakia/core/net/node.py b/src/sakia/core/net/node.py index e79574c7d0a9e73ea872202c3fd02382c79a9d12..76c784b2e9e122217778aa51d4e32a662246001a 100644 --- a/src/sakia/core/net/node.py +++ b/src/sakia/core/net/node.py @@ -358,8 +358,7 @@ class Node(QObject): async for msg in ws: if msg.tp == aiohttp.MsgType.text: logging.debug("Received a block : {0}".format(self.pubkey[:5])) - block_data = block_websocket.parse_text(msg.data) - await self.refresh_block(block_data) + await self.request_current_block() elif msg.tp == aiohttp.MsgType.closed: break elif msg.tp == aiohttp.MsgType.error: