Skip to content

Commit

Permalink
fix feature compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pacu committed Nov 19, 2024
1 parent 3edfed2 commit b173147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions zingolib/src/wallet/disk/testing/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ async fn reload_wallet_from_buffer() {
assert_eq!(balance.orchard_balance, Some(10342837));
}

#[cfg(feature = "ledger-support")]
#[tokio::test]
async fn test_ledger_initialization() {
use crate::wallet::WalletCapability;
Expand Down
3 changes: 2 additions & 1 deletion zingolib/src/wallet/keys/unified.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ use crate::{
wallet::data::new_rejection_address,
};

#[cfg(feature = "ledger-support")]
use super::ledger::LedgerKeys;
use super::legacy::{legacy_sks_to_usk, Capability};

use super::legacy::{legacy_sks_to_usk, Capability};
use crate::wallet::keys::capability::{InternalCapability, InMemoryWallet};

pub(crate) const KEY_TYPE_EMPTY: u8 = 0;
Expand Down

0 comments on commit b173147

Please sign in to comment.