From 69e485631dfbd80458b2b61e158645e095ed9641 Mon Sep 17 00:00:00 2001 From: Ross Savage Date: Wed, 8 Jan 2025 19:50:05 +0100 Subject: [PATCH 1/2] Add developer note for waiting confirmation --- src/guide/receive_payment.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/guide/receive_payment.md b/src/guide/receive_payment.md index 2d608672..b7efb63c 100644 --- a/src/guide/receive_payment.md +++ b/src/guide/receive_payment.md @@ -251,6 +251,11 @@ receive method, optionally specifying a description. - For Bitcoin/Liquid BIP21 payments, it will be encoded in the URI as the `message` field. - For plain Liquid payments, the description has no effect. +
+

Developer note

+When waiting for a payment to be received, it is enough to wait for a PaymentWaitingNotification event before displaying a successful payment feedback in the UI. At this point the transaction is broadcast and will be shortly confirmed. +
+
Rust
From b085e4be236a583f583ab02ea63a8b968abcf3c4 Mon Sep 17 00:00:00 2001 From: Ross Savage <551697+dangeross@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:54:49 +0100 Subject: [PATCH 2/2] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel Granhão <32176319+danielgranhao@users.noreply.github.com> --- src/guide/receive_payment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/receive_payment.md b/src/guide/receive_payment.md index b7efb63c..2adfb86c 100644 --- a/src/guide/receive_payment.md +++ b/src/guide/receive_payment.md @@ -253,7 +253,7 @@ receive method, optionally specifying a description.

Developer note

-When waiting for a payment to be received, it is enough to wait for a PaymentWaitingNotification event before displaying a successful payment feedback in the UI. At this point the transaction is broadcast and will be shortly confirmed. +When waiting for a payment to be received, it is enough to wait for a PaymentWaitingConfirmation event before displaying a successful payment feedback in the UI. At this point the transaction is broadcast and will be shortly confirmed.