Skip to content

Commit 4744b01

Browse files
committed
fix LiteClient annotation for flake8
1 parent 7eb5bcb commit 4744b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytoniq/liteclient/sync.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
logger = logging.getLogger('sync')
1010

1111

12-
async def sync(client: "LiteClient", to_block: BlockIdExt, init_block: BlockIdExt):
12+
async def sync(client, to_block: BlockIdExt, init_block: BlockIdExt):
1313
logger.info(msg=f'syncing to {to_block}')
1414
from .client import LiteClient
15-
valid_key_block_stored = False
1615
client: LiteClient
16+
valid_key_block_stored = False
1717
blocks_data = get_last_stored_blocks(init_block.root_hash.hex())
1818
if not blocks_data:
1919
logger.debug(f'no last blocks were found, syncing from the init block {init_block}')

0 commit comments

Comments
 (0)