Skip to content

Commit

Permalink
fix: ClaimPredicate.rel_before, Optional[datetime] -> Optional[int]
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Jan 11, 2022
1 parent 0390862 commit 797fc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stellar_model/model/horizon/claimable_balance.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ClaimPredicate(BaseModel):
"balance can be claimed. If the balance is claimed before the "
"date then this clause of the condition is satisfied."
)
rel_before: Optional[datetime] = Field(
rel_before: Optional[int] = Field(
description="A relative deadline for when the claimable balance can be "
"claimed. The value represents the number of seconds since the "
"close time of the ledger which created the claimable balance."
Expand Down

0 comments on commit 797fc8f

Please sign in to comment.