Skip to content

Commit 78b99dd

Browse files
committed
fix: add wallet feature flag to multi-wallet tests
Had issues with build using --no-default-features in the CI.
1 parent 5042682 commit 78b99dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ mod test {
896896

897897
use bdk_testenv::{block_id, hash, utils};
898898

899+
#[cfg(feature = "wallet")]
899900
const DESCRIPTORS: [&str; 4] = [
900901
"tr([5940b9b9/86'/0'/0']tpubDDVNqmq75GNPWQ9UNKfP43UwjaHU4GYfoPavojQbfpyfZp2KetWgjGBRRAy4tYCrAA6SB11mhQAkqxjh1VtQHyKwT4oYxpwLaGHvoKmtxZf/1/*)#ypcpw2dr",
901902
"tr([5940b9b9/86'/0'/0']tpubDDVNqmq75GNPWQ9UNKfP43UwjaHU4GYfoPavojQbfpyfZp2KetWgjGBRRAy4tYCrAA6SB11mhQAkqxjh1VtQHyKwT4oYxpwLaGHvoKmtxZf/0/*)#44aqnlam",
@@ -2083,6 +2084,7 @@ mod test {
20832084
assert_eq!(changeset_read, changeset2);
20842085
}
20852086

2087+
#[cfg(feature = "wallet")]
20862088
#[test]
20872089
fn wallets_missing_descriptors() {
20882090
// to increase branch coverage for if-let statements

0 commit comments

Comments
 (0)