Skip to content

Commit

Permalink
Exclude use_trampoline field of LnUrlPayRequest on liquid featu…
Browse files Browse the repository at this point in the history
…re of `sdk-common` (#1076)

* Exclude `use_trampoline` field of `LnUrlPayRequest` from `liquid` feature

* chore: flutter pub get && flutter pub upgrade

* Add comment as to why use_trampoline is excluded on Liquid feature

Co-authored-by: ok300 <[email protected]>

---------

Co-authored-by: ok300 <[email protected]>
  • Loading branch information
erdemyerebasmaz and ok300 authored Aug 20, 2024
1 parent 775a68e commit 282f84d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions libs/sdk-common/src/lnurl/specs/pay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ pub mod model {
pub data: LnUrlPayRequestData,
/// The amount in millisatoshis for this payment
pub amount_msat: u64,
#[cfg(not(feature = "liquid"))] // Only available for the Greenlight SDK
/// Trampoline payments outsource pathfinding to the LSP. Trampoline payments can improve
/// payment performance, but are generally more expensive in terms of fees and they
/// compromise on privacy.
Expand Down
8 changes: 4 additions & 4 deletions libs/sdk-flutter/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,10 @@ packages:
dependency: transitive
description:
name: crypto
sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27
url: "https://pub.dev"
source: hosted
version: "3.0.3"
version: "3.0.5"
dart_style:
dependency: transitive
description:
Expand All @@ -205,10 +205,10 @@ packages:
dependency: "direct main"
description:
name: ffi
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6"
url: "https://pub.dev"
source: hosted
version: "2.1.2"
version: "2.1.3"
ffigen:
dependency: "direct dev"
description:
Expand Down

0 comments on commit 282f84d

Please sign in to comment.