Skip to content

Commit 54231ab

Browse files
committed
change to cached post
1 parent 943deb2 commit 54231ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/collectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ def block_height(self):
592592

593593
def finalized_block_height(self):
594594
"""Runs a query to return consensus block height"""
595-
result = self.interface.json_rpc_post(self.consensus_block_height_payload)
595+
result = self.interface.cached_json_rpc_post(self.consensus_block_height_payload)
596596
if result is None:
597597
raise ValueError("No response received from TON endpoint")
598598
consensus_block = result.get('consensus_block', None)

0 commit comments

Comments
 (0)