mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-23 08:54:22 +01:00
fix: set PaymentDetails as mandatory, default to LiquidAddress (#474)
This commit is contained in:
@@ -475,7 +475,7 @@ class Payment {
|
||||
|
||||
/// The details of a payment, depending on its [destination](Payment::destination) and
|
||||
/// [type](Payment::payment_type)
|
||||
final PaymentDetails? details;
|
||||
final PaymentDetails details;
|
||||
|
||||
const Payment({
|
||||
this.destination,
|
||||
@@ -485,7 +485,7 @@ class Payment {
|
||||
required this.feesSat,
|
||||
required this.paymentType,
|
||||
required this.status,
|
||||
this.details,
|
||||
required this.details,
|
||||
});
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user