Skip to content

Commit

Permalink
strip URL (cashubtc#605)
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc authored Jul 29, 2024
1 parent d388508 commit e14dc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(self, url: str, db: str, name: str = "no_name", unit: str = "sat"):
self.proofs: List[Proof] = []
self.name = name
self.unit = Unit[unit]

url = url.rstrip("/")
super().__init__(url=url, db=self.db)
logger.debug("Wallet initialized")
logger.debug(f"Mint URL: {url}")
Expand Down

0 comments on commit e14dc6d

Please sign in to comment.