Skip to content

Commit

Permalink
fix: use str instead of float to preserve precision in large numerica…
Browse files Browse the repository at this point in the history
…l values
  • Loading branch information
1yam committed Aug 21, 2024
1 parent fcb3730 commit 5e9046a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aleph/sdk/query/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ class MessagesResponse(PaginationResponse):
class PriceResponse(BaseModel):
"""Response from an aleph.im node API on the path /api/v0/price/{item_hash}"""

required_tokens: float
required_tokens: str
payment_type: str

0 comments on commit 5e9046a

Please sign in to comment.