From 416768afb81beb0184562ff582352c752a77fe84 Mon Sep 17 00:00:00 2001 From: Sandipan Dey Date: Fri, 14 Jul 2023 07:16:48 +0530 Subject: [PATCH] feat: default memo --- app/screens/receive-bitcoin-screen/payment/payment-request.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/screens/receive-bitcoin-screen/payment/payment-request.ts b/app/screens/receive-bitcoin-screen/payment/payment-request.ts index 53bd2c7a70..a131d0e2e2 100644 --- a/app/screens/receive-bitcoin-screen/payment/payment-request.ts +++ b/app/screens/receive-bitcoin-screen/payment/payment-request.ts @@ -31,6 +31,9 @@ export const createPaymentRequest = ( let info: PaymentRequestInformation | undefined + // Default memo + if (!pr.memo) pr.memo = "Pay to Blink Wallet User" + // On Chain BTC if (pr.type === Invoice.OnChain) { const { data, errors } = await mutations.onChainAddressCurrent({