mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 01:36:24 +01:00
macaroons: update line folding to project style
This commit is contained in:
parent
ff47ade13b
commit
06d5f2db37
1 changed files with 3 additions and 2 deletions
|
@ -140,8 +140,9 @@ func (svc *Service) StreamServerInterceptor(
|
||||||
"for method", info.FullMethod)
|
"for method", info.FullMethod)
|
||||||
}
|
}
|
||||||
|
|
||||||
err := svc.ValidateMacaroon(ss.Context(),
|
err := svc.ValidateMacaroon(
|
||||||
permissionMap[info.FullMethod])
|
ss.Context(), permissionMap[info.FullMethod],
|
||||||
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue