@@ -7330,9 +7330,9 @@ public enum PaymentKind {
73307330
73317331 case onchain( txid: Txid , status: ConfirmationStatus
73327332 )
7333- case bolt11( hash: PaymentHash , preimage: PaymentPreimage ? , secret: PaymentSecret ?
7333+ case bolt11( hash: PaymentHash , preimage: PaymentPreimage ? , secret: PaymentSecret ? , description : String ?
73347334 )
7335- case bolt11Jit( hash: PaymentHash , preimage: PaymentPreimage ? , secret: PaymentSecret ? , counterpartySkimmedFeeMsat: UInt64 ? , lspFeeLimits: LspFeeLimits
7335+ case bolt11Jit( hash: PaymentHash , preimage: PaymentPreimage ? , secret: PaymentSecret ? , counterpartySkimmedFeeMsat: UInt64 ? , lspFeeLimits: LspFeeLimits , description : String ?
73367336 )
73377337 case bolt12Offer( hash: PaymentHash ? , preimage: PaymentPreimage ? , secret: PaymentSecret ? , offerId: OfferId , payerNote: UntrustedString ? , quantity: UInt64 ?
73387338 )
@@ -7353,10 +7353,10 @@ public struct FfiConverterTypePaymentKind: FfiConverterRustBuffer {
73537353 case 1 : return . onchain( txid: try FfiConverterTypeTxid . read ( from: & buf) , status: try FfiConverterTypeConfirmationStatus . read ( from: & buf)
73547354 )
73557355
7356- case 2 : return . bolt11( hash: try FfiConverterTypePaymentHash . read ( from: & buf) , preimage: try FfiConverterOptionTypePaymentPreimage . read ( from: & buf) , secret: try FfiConverterOptionTypePaymentSecret . read ( from: & buf)
7356+ case 2 : return . bolt11( hash: try FfiConverterTypePaymentHash . read ( from: & buf) , preimage: try FfiConverterOptionTypePaymentPreimage . read ( from: & buf) , secret: try FfiConverterOptionTypePaymentSecret . read ( from: & buf) , description : try FfiConverterOptionString . read ( from : & buf )
73577357 )
73587358
7359- case 3 : return . bolt11Jit( hash: try FfiConverterTypePaymentHash . read ( from: & buf) , preimage: try FfiConverterOptionTypePaymentPreimage . read ( from: & buf) , secret: try FfiConverterOptionTypePaymentSecret . read ( from: & buf) , counterpartySkimmedFeeMsat: try FfiConverterOptionUInt64 . read ( from: & buf) , lspFeeLimits: try FfiConverterTypeLSPFeeLimits . read ( from: & buf)
7359+ case 3 : return . bolt11Jit( hash: try FfiConverterTypePaymentHash . read ( from: & buf) , preimage: try FfiConverterOptionTypePaymentPreimage . read ( from: & buf) , secret: try FfiConverterOptionTypePaymentSecret . read ( from: & buf) , counterpartySkimmedFeeMsat: try FfiConverterOptionUInt64 . read ( from: & buf) , lspFeeLimits: try FfiConverterTypeLSPFeeLimits . read ( from: & buf) , description : try FfiConverterOptionString . read ( from : & buf )
73607360 )
73617361
73627362 case 4 : return . bolt12Offer( hash: try FfiConverterOptionTypePaymentHash . read ( from: & buf) , preimage: try FfiConverterOptionTypePaymentPreimage . read ( from: & buf) , secret: try FfiConverterOptionTypePaymentSecret . read ( from: & buf) , offerId: try FfiConverterTypeOfferId . read ( from: & buf) , payerNote: try FfiConverterOptionTypeUntrustedString . read ( from: & buf) , quantity: try FfiConverterOptionUInt64 . read ( from: & buf)
@@ -7382,20 +7382,22 @@ public struct FfiConverterTypePaymentKind: FfiConverterRustBuffer {
73827382 FfiConverterTypeConfirmationStatus . write ( status, into: & buf)
73837383
73847384
7385- case let . bolt11( hash, preimage, secret) :
7385+ case let . bolt11( hash, preimage, secret, description ) :
73867386 writeInt ( & buf, Int32 ( 2 ) )
73877387 FfiConverterTypePaymentHash . write ( hash, into: & buf)
73887388 FfiConverterOptionTypePaymentPreimage . write ( preimage, into: & buf)
73897389 FfiConverterOptionTypePaymentSecret . write ( secret, into: & buf)
7390+ FfiConverterOptionString . write ( description, into: & buf)
73907391
73917392
7392- case let . bolt11Jit( hash, preimage, secret, counterpartySkimmedFeeMsat, lspFeeLimits) :
7393+ case let . bolt11Jit( hash, preimage, secret, counterpartySkimmedFeeMsat, lspFeeLimits, description ) :
73937394 writeInt ( & buf, Int32 ( 3 ) )
73947395 FfiConverterTypePaymentHash . write ( hash, into: & buf)
73957396 FfiConverterOptionTypePaymentPreimage . write ( preimage, into: & buf)
73967397 FfiConverterOptionTypePaymentSecret . write ( secret, into: & buf)
73977398 FfiConverterOptionUInt64 . write ( counterpartySkimmedFeeMsat, into: & buf)
73987399 FfiConverterTypeLSPFeeLimits . write ( lspFeeLimits, into: & buf)
7400+ FfiConverterOptionString . write ( description, into: & buf)
73997401
74007402
74017403 case let . bolt12Offer( hash, preimage, secret, offerId, payerNote, quantity) :
0 commit comments