macaroons: add ip range checker
This commit is contained in:
2 files changed
+66
-4
No files matched your search
+1
-1
@@ -472,7 +472,7 @@ func (d *DefaultWalletImpl) BuildWalletConfig(ctx context.Context,
|
||||
}
|
||||
macaroonService, err = macaroons.NewService(
|
||||
rootKeyStore, "lnd", walletInitParams.StatelessInit,
|
||||
macaroons.IPLockChecker,
|
||||
macaroons.IPLockChecker, macaroons.IPRangeLockChecker,
|
||||
macaroons.CustomChecker(interceptorChain),
|
||||
)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user