From 87629fbd6917f059413c02eed0a4f84783af6adf Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Thu, 19 Sep 2024 13:08:43 +0300 Subject: [PATCH] Enable trampoline payments --- lib/bloc/account/account_bloc.dart | 2 +- lib/routes/lnurl/payment/lnurl_payment_handler.dart | 2 +- pubspec.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bloc/account/account_bloc.dart b/lib/bloc/account/account_bloc.dart index 036ff4fa..102a5fd0 100644 --- a/lib/bloc/account/account_bloc.dart +++ b/lib/bloc/account/account_bloc.dart @@ -197,7 +197,7 @@ class AccountBloc extends Cubit with HydratedMixin { final req = sdk.SendPaymentRequest( bolt11: bolt11, amountMsat: amountMsat, - useTrampoline: false, + useTrampoline: true, ); 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 48fcea7a..b33db7bd 100644 --- a/lib/routes/lnurl/payment/lnurl_payment_handler.dart +++ b/lib/routes/lnurl/payment/lnurl_payment_handler.dart @@ -53,7 +53,7 @@ Future handlePayRequest( comment: paymentInfo.comment, data: data, validateSuccessActionUrl: false, - useTrampoline: false, + useTrampoline: true, ); return accBloc.lnurlPay(req: req); }, diff --git a/pubspec.lock b/pubspec.lock index aa0b5cc1..58ffb27c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -103,7 +103,7 @@ packages: path: "../breez-sdk/libs/sdk-flutter" relative: true source: path - version: "0.5.1-rc6" + version: "0.5.2" breez_translations: dependency: "direct main" description: