Skip to content

Commit

Permalink
feat: default memo
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed Jul 14, 2023
1 parent 67699e1 commit 416768a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/screens/receive-bitcoin-screen/payment/payment-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 416768a

Please sign in to comment.