Skip to content

Commit

Permalink
Enable trampoline payments
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Oct 14, 2024
1 parent 3cb4747 commit 87629fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/bloc/account/account_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class AccountBloc extends Cubit<AccountState> with HydratedMixin {
final req = sdk.SendPaymentRequest(
bolt11: bolt11,
amountMsat: amountMsat,
useTrampoline: false,
useTrampoline: true,
);
await _breezSDK.sendPayment(req: req);
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/lnurl/payment/lnurl_payment_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Future<LNURLPageResult?> handlePayRequest(
comment: paymentInfo.comment,
data: data,
validateSuccessActionUrl: false,
useTrampoline: false,
useTrampoline: true,
);
return accBloc.lnurlPay(req: req);
},
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 87629fb

Please sign in to comment.