We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20d4516 commit c7f078cCopy full SHA for c7f078c
snippets/dart_snippets/lib/communicating_fees.dart
@@ -3,7 +3,7 @@ import 'package:breez_sdk/bridge_generated.dart';
3
4
Future<void> getFeeInfoAfterInvoiceCreated({required ReceivePaymentResponse receivePaymentResponse}) async {
5
// ANCHOR: get-fee-info-after-invoice-created
6
- int openingFeeSat = (receivePaymentResponse.openingFeeMsat ?? 0) / 1000;
+ int openingFeeSat = (receivePaymentResponse.openingFeeMsat ?? 0) / 1000 as int;
7
print("A setup fee of ${openingFeeSat} sats is applied to this invoice.");
8
// ANCHOR_END: get-fee-info-after-invoice-created
9
}
0 commit comments