Skip to content

Commit

Permalink
add "ledger-support" feature to libtonode-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pacu committed Nov 21, 2024
1 parent 324001a commit 1ea07a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions libtonode-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = "2021"
[features]
chain_generic_tests = []
ci = ["zingolib/ci"]
ledger-support = []

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
Expand Down
2 changes: 2 additions & 0 deletions libtonode-tests/tests/concrete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1290,6 +1290,8 @@ mod slow {
Some(client_builder.zingo_datadir),
ChainType::Regtest(regtest_network),
true,
#[cfg(feature = "ledger-support")]
false,
)
.unwrap();

Expand Down
2 changes: 2 additions & 0 deletions libtonode-tests/tests/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ async fn sync_mainnet_test() {
Some(temp_path),
zingolib::config::ChainType::Mainnet,
true,
#[cfg(feature = "ledger-support")]
false,
)
.unwrap();
let mut lightclient = LightClient::create_from_wallet_base_async(
Expand Down

0 comments on commit 1ea07a1

Please sign in to comment.