From 0953cd5bef30e71946ff85e451301a6869bf93bc Mon Sep 17 00:00:00 2001 From: fosse Date: Tue, 27 Feb 2024 16:51:54 -0500 Subject: [PATCH] small fix --- lib/src/screens/receive/lightning_invoice_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/screens/receive/lightning_invoice_page.dart b/lib/src/screens/receive/lightning_invoice_page.dart index 753c9f611..7eeb3b0a5 100644 --- a/lib/src/screens/receive/lightning_invoice_page.dart +++ b/lib/src/screens/receive/lightning_invoice_page.dart @@ -164,7 +164,7 @@ class LightningInvoicePage extends BasePage { return SizedBox(); } String min = (snapshot.data as List)[0]; - min = bitcoinAmountToLightningString(amount: int.parse(min) ~/ 1000); + min = satsToLightningString(double.parse(min)); return Expanded( child: Text( // S.of(context).lightning_invoice_min(min)