mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-18 14:34:24 +01:00
Update boltz-rust and add receive payment description (#409)
* Update boltz-rust * Store description and add to Payment struct * Fix examples
This commit is contained in:
2
packages/react-native/example/App.js
vendored
2
packages/react-native/example/App.js
vendored
@@ -88,7 +88,7 @@ const App = () => {
|
||||
// Get the fees required for this payment
|
||||
addLine("Payment fees", `${prepareReceiveRes.feesSat}`)
|
||||
|
||||
let receivePaymentRes = await receivePayment(prepareReceiveRes)
|
||||
let receivePaymentRes = await receivePayment({prepareRes: prepareReceiveRes})
|
||||
addLine("receivePayment", JSON.stringify(receivePaymentRes))
|
||||
// Wait for payer to pay.... once successfully paid an event of `paymentSucceeded` will be emitted.
|
||||
addLine("Bolt11 invoice", `${receivePaymentRes.invoice}`)
|
||||
|
||||
Reference in New Issue
Block a user