Skip to content

Commit

Permalink
fix: bridge addresses are optional
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Jul 17, 2023
1 parent cc062cc commit 3b61ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokenlists/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ class Config:

class BridgeInfoItem(BaseModel):
tokenAddress: TokenAddress
originBridgeAddress: TokenAddress
destBridgeAddress: TokenAddress
originBridgeAddress: Optional[TokenAddress] = None
destBridgeAddress: Optional[TokenAddress] = None


class BridgeInfo(BaseModel):
Expand Down

0 comments on commit 3b61ccb

Please sign in to comment.