From 44aa378861c9a64171e71d8e461ad23b0674d16e Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Sat, 27 Oct 2018 18:04:35 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61ad050..1a8d5f1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ and sends Bitcoin [lightning payments](https://lightning.network/). ## How does it work? This Faraday middleware checks if the server responds with a `402 Payment Required` HTTP status code and -a lightning invoice ([BOLT311](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md)). +a lightning invoice ([BOLT11](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md)). If so it pays the invoice through the connected [lnd node](https://github.com/lightningnetwork/lnd/) and performs a second request with the proof of payment.