Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rodgerjohnson committed Aug 30, 2024
1 parent 3f89b5c commit 7f6126f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def alive(self):
self.client_version_payload) is not None

def block_height(self):
"""Returns blockheight after converting string hexadecimal value to an int"""
"""Runs a cached query and returns blockheight after converting hex string value to an int"""
result = self.interface.cached_json_rpc_post(self.block_height_payload)

if result and isinstance(result, str) and result.startswith('0x'):
Expand Down

0 comments on commit 7f6126f

Please sign in to comment.