mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
walletunlocker: don't utilize the macaroon authentication service
In this commit we remove all instances of the macaroon authentication service from the UnlockerService struct. We do this, as in the future, the macaroons themselves will be encrypted using the user’s passphrase, therefore we wouldn’t be able to _verify_ the macaroon unless the wallet itself was encrypted.
This commit is contained in:
@@ -88,9 +88,9 @@ func TestCreateWallet(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// TestUnlockWallet checks that trying to unlock non-existing wallet fail,
|
||||
// that unlocking existing wallet with wrong passphrase fails, and that
|
||||
// unlocking existing wallet with correct passphrase succeeds.
|
||||
// TestUnlockWallet checks that trying to unlock non-existing wallet fail, that
|
||||
// unlocking existing wallet with wrong passphrase fails, and that unlocking
|
||||
// existing wallet with correct passphrase succeeds.
|
||||
func TestUnlockWallet(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
Reference in New Issue
Block a user