tdex-network / tdex-daemon

Go implementation of the TDEX Beta Daemon
https://tdex.network
MIT License
11 stars 13 forks source link

Hotfix change password #724

Closed altafan closed 1 year ago

altafan commented 1 year ago

Before this there were problems with the macaroon service after changing the main password and unlocking the daemon.

The reason for this bug was due to the fact that the macaroon service was stopped when locking the daemon, making impossible to update its password and therefore unlocking with the new one.

With this, the macaroon service is not stopped anymore when locking the wallet.

Please @sekulicd review this.

what-the-diff[bot] commented 1 year ago

PR Summary

These changes were made to streamline the onLock function in both files, removing unnecessary checks and calls, and having a more consistent behavior across the codebase.

sekulicd commented 1 year ago

ACK