From 471e40b7b3d2ebfa4eb51f5977effb7ffd87367e Mon Sep 17 00:00:00 2001 From: supertestnet <58400631+supertestnet@users.noreply.github.com> Date: Mon, 27 May 2024 11:24:45 -0500 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4d11510..efca13d 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ var invoice_info = await checkInvoice( nwc_obj, invoice, delay_tolerance ); ## Check a payment's status +This method will return false if a payment did not succeed yet. If the payment did succeed, it will return the invoice preimage. + If there is an error, consider increasing your delay tolerance from 3 seconds to 5 or so ```