From 853e6cf010aa0ea05be3efa9a5019d637d107260 Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Mon, 23 Sep 2024 13:28:33 +0300 Subject: [PATCH] Disable trampoline payments by default --- lib/bloc/account/account_bloc.dart | 1 + lib/routes/lnurl/payment/lnurl_payment_handler.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/bloc/account/account_bloc.dart b/lib/bloc/account/account_bloc.dart index 8aa4d679..036ff4fa 100644 --- a/lib/bloc/account/account_bloc.dart +++ b/lib/bloc/account/account_bloc.dart @@ -197,6 +197,7 @@ class AccountBloc extends Cubit with HydratedMixin { final req = sdk.SendPaymentRequest( bolt11: bolt11, amountMsat: amountMsat, + useTrampoline: false, ); await _breezSDK.sendPayment(req: req); } catch (e) { diff --git a/lib/routes/lnurl/payment/lnurl_payment_handler.dart b/lib/routes/lnurl/payment/lnurl_payment_handler.dart index a96045a1..48fcea7a 100644 --- a/lib/routes/lnurl/payment/lnurl_payment_handler.dart +++ b/lib/routes/lnurl/payment/lnurl_payment_handler.dart @@ -53,6 +53,7 @@ Future handlePayRequest( comment: paymentInfo.comment, data: data, validateSuccessActionUrl: false, + useTrampoline: false, ); return accBloc.lnurlPay(req: req); },