Skip to content

Commit

Permalink
fix proxy keys (#355)
Browse files Browse the repository at this point in the history
* fix proxy keys

* fix all tests

* fix tor test
  • Loading branch information
callebtc authored Nov 9, 2023
1 parent a4abbc2 commit 84cbeb6
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 198 deletions.
3 changes: 1 addition & 2 deletions cashu/wallet/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ async def wrapper(self, *args, **kwargs):
elif settings.http_proxy:
proxy_url = settings.http_proxy
if proxy_url:
proxies_dict.update({"http": proxy_url})
proxies_dict.update({"https": proxy_url})
proxies_dict.update({"all://": proxy_url})

headers_dict = {"Client-version": settings.version}

Expand Down
Loading

0 comments on commit 84cbeb6

Please sign in to comment.