Skip to content

Commit

Permalink
Disable trampoline payments by default
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Sep 23, 2024
1 parent f0c16f8 commit 853e6cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/bloc/account/account_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ class AccountBloc extends Cubit<AccountState> with HydratedMixin {
final req = sdk.SendPaymentRequest(
bolt11: bolt11,
amountMsat: amountMsat,
useTrampoline: false,
);
await _breezSDK.sendPayment(req: req);
} catch (e) {
Expand Down
1 change: 1 addition & 0 deletions lib/routes/lnurl/payment/lnurl_payment_handler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Future<LNURLPageResult?> handlePayRequest(
comment: paymentInfo.comment,
data: data,
validateSuccessActionUrl: false,
useTrampoline: false,
);
return accBloc.lnurlPay(req: req);
},
Expand Down

0 comments on commit 853e6cf

Please sign in to comment.