Merge pull request #3850 from alexbosworth/patch-14

lnrpc: Add macaroon entry for peers subscription
This commit is contained in:
Olaoluwa Osuntokun 2019-12-18 12:33:01 -03:00 committed by GitHub
commit 6fef37cc06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -436,6 +436,10 @@ func mainRPCServerPermissions() map[string][]bakery.Op {
Entity: "macaroon",
Action: "generate",
}},
"/lnrpc.Lightning/SubscribePeerEvents": {{
Entity: "peers",
Action: "read",
}},
}
}