From 4d43db0befbfaab418b0f933d1d182b193b9049f Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Thu, 22 Nov 2018 11:16:51 +0000 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 28c4c20..d5d58f3 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ The tls.cert and the macaroon config can be loaded from a variable: ```ruby ENV['LND_CREDENTIALS'] = "the content of your tls.cert file" ENV['LND_MACAROON'] = "the hex encoded content of your macaroon file" -# you can get the macaroon content like this: `xxd -p -c2000 admin.macaroon` -# or `::File.read(::File.expand_path("/path/to/admin.macaroon")).each_byte.map { |b| b.to_s(16).rjust(2,'0') }.join` +# you can get the macaroon content like this: xxd -p -c2000 admin.macaroon +# or ::File.read(::File.expand_path("/path/to/admin.macaroon")).each_byte.map { |b| b.to_s(16).rjust(2,'0') }.join Example = Rack::Builder.new { use Rack::Lightning, { macaroon: ENV['LND_MACAROON'], credentials: ENV['LND_CREDENTIALS'] }