Update Go and RN snippets to 0.2.9

This commit is contained in:
Ross Savage
2023-11-13 12:16:00 +01:00
committed by ok300
parent 01ef82a696
commit 751468285c
6 changed files with 14 additions and 12 deletions

View File

@@ -2,6 +2,7 @@ import { sendPayment } from "@breeztech/react-native-breez-sdk"
const exampleSendLightningPayment = async () => {
// ANCHOR: send-payment
const bolt11 = "bolt11 invoice"
// The `amountMsat` param is optional and should only passed if the bolt11 doesn't specify an amount.
// The amountMsat is required in case an amount is not specified in the bolt11 invoice'.
const amountMsat = 3000000