Skip to content

Commit

Permalink
Reinit cookie on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
roshii committed May 8, 2023
1 parent 6925e84 commit e807421
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions jmclient/jmclient/wallet_rpc.py
Expand Up @@ -252,9 +252,8 @@ def stopSubServices(self):
- shuts down any other running sub-services, such as yieldgenerator.
- shuts down (aborts) any taker-side coinjoining happening.
"""
# Currently valid authorization tokens must be removed
# from the daemon:
self.cookie = None
# Invalidate previously issued cookies
self.init_cookie()
if self.wss_factory:
self.wss_factory.valid_token = None
self.wallet_name = None
Expand Down

0 comments on commit e807421

Please sign in to comment.