diff --git a/lib/ios/Ldk.swift b/lib/ios/Ldk.swift index 62b4e02a..600ac1a6 100644 --- a/lib/ios/Ldk.swift +++ b/lib/ios/Ldk.swift @@ -853,7 +853,7 @@ class Ldk: NSObject { channelManagerPersister.persistPaymentSent([ "bolt11_invoice": String(paymentRequest), "description": invoice.intoSignedRaw().rawInvoice().description()?.intoInner().getA() ?? "", - "payment_id": paymentId, + "payment_id": Data(paymentId).hexEncodedString(), "payment_hash": Data(invoice.paymentHash() ?? []).hexEncodedString(), "amount_sat": isZeroValueInvoice ? amountSats : (invoice.amountMilliSatoshis() ?? 0) / 1000, "unix_timestamp": Int(Date().timeIntervalSince1970), diff --git a/lib/package.json b/lib/package.json index 3f822f18..73c629b3 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,7 +1,7 @@ { "name": "@synonymdev/react-native-ldk", "title": "React Native LDK", - "version": "0.0.134", + "version": "0.0.136", "description": "React Native wrapper for LDK", "main": "./dist/index.js", "types": "./dist/index.d.ts",