Skip to content

Commit 40e83dc

Browse files
FIX. return JSON result from query chain tip
1 parent 8f6700d commit 40e83dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pycardano/backend/ogmios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def _query_current_epoch(self) -> int:
102102

103103
def _query_chain_tip(self) -> JSON:
104104
args = {"query": "chainTip"}
105-
return self._request(OgmiosQueryType.Query, args)["slot"]
105+
return self._request(OgmiosQueryType.Query, args)
106106

107107
def _check_chain_tip_and_update(self):
108108
slot = self.last_block_slot

0 commit comments

Comments
 (0)