lncli: note to self about future auth

This commit is contained in:
Olaoluwa Osuntokun committed 2016-01-14 23:56:08 -08:00
1 parent c4af4017da
commit 20e367c4e7
1 file changed
+3
+3
View File
@@ -27,6 +27,9 @@ func getClient(ctx *cli.Context) lnrpc.LightningClient {
func getClientConn(ctx *cli.Context) *grpc.ClientConn {
// TODO(roasbeef): macaroon based auth
// * http://www.grpc.io/docs/guides/auth.html
// * http://research.google.com/pubs/pub41892.html
// * https://github.com/go-macaroon/macaroon
opts := []grpc.DialOption{grpc.WithInsecure()}
conn, err := grpc.Dial(ctx.GlobalString("rpcserver"), opts...)