mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 08:54:22 +01:00
Add description hash to receive payment (#440)
* Add option to hash description * Fix Flutter gen * Switch to upstream boltz-rust * Address feedback
This commit is contained in:
@@ -1559,9 +1559,11 @@ final class wire_cst_prepare_receive_response extends ffi.Struct {
|
||||
}
|
||||
|
||||
final class wire_cst_receive_payment_request extends ffi.Struct {
|
||||
external wire_cst_prepare_receive_response prepare_response;
|
||||
|
||||
external ffi.Pointer<wire_cst_list_prim_u_8_strict> description;
|
||||
|
||||
external wire_cst_prepare_receive_response prepare_response;
|
||||
external ffi.Pointer<ffi.Bool> use_description_hash;
|
||||
}
|
||||
|
||||
final class wire_cst_refund_request extends ffi.Struct {
|
||||
@@ -2375,6 +2377,10 @@ final class wire_cst_PaymentError_Generic extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_list_prim_u_8_strict> err;
|
||||
}
|
||||
|
||||
final class wire_cst_PaymentError_InvalidDescription extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_list_prim_u_8_strict> err;
|
||||
}
|
||||
|
||||
final class wire_cst_PaymentError_InvalidInvoice extends ffi.Struct {
|
||||
external ffi.Pointer<wire_cst_list_prim_u_8_strict> err;
|
||||
}
|
||||
@@ -2408,6 +2414,8 @@ final class PaymentErrorKind extends ffi.Union {
|
||||
|
||||
external wire_cst_PaymentError_Generic Generic;
|
||||
|
||||
external wire_cst_PaymentError_InvalidDescription InvalidDescription;
|
||||
|
||||
external wire_cst_PaymentError_InvalidInvoice InvalidInvoice;
|
||||
|
||||
external wire_cst_PaymentError_LwkError LwkError;
|
||||
|
||||
Reference in New Issue
Block a user