Skip to content

Commit f9bb9a8

Browse files
committed
Cast result of blocks
1 parent 5fd1374 commit f9bb9a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpc/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,5 @@ async def block_count(self) -> Tuple[int, int]:
123123
}
124124
respjson = await self.make_request(count_action)
125125
if 'count' in respjson and 'unchecked' in respjson:
126-
return respjson['count'], respjson['unchecked']
126+
return int(respjson['count']), int(respjson['unchecked'])
127127
return None, None

0 commit comments

Comments
 (0)