mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-20 00:30:05 +02:00
Fixes a bug introduced by #9605, fixes #9648. We return a specific error in the RPC permission interceptor for the case where the wallet is already unlocked or is still locked. We need to catch those errors correctly to give the user a bit more context on what to do.