Skip to content

Commit

Permalink
strip URL
Browse files Browse the repository at this point in the history
  • Loading branch information
callebtc committed Jul 29, 2024
1 parent 4d0d25f commit 036654b
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 036654b

Please sign in to comment.