Skip to content

Commit

Permalink
fix build with 1.77.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Nov 25, 2024
1 parent af9f05e commit 1e57674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ fn _get_wallet(
println!("wallet dir: {wallet_dir:?}");

let xpub_account = match wallet_account {
WalletAccount::Private(ref xpriv_account) => &xpriv_account.to_xpub_account(),
WalletAccount::Public(ref xpub_account) => xpub_account,
WalletAccount::Private(ref xpriv_account) => xpriv_account.to_xpub_account(),
WalletAccount::Public(ref xpub_account) => xpub_account.clone(),
};
const OPRET_KEYCHAINS: [Keychain; 3] = [
Keychain::INNER,
Expand Down

0 comments on commit 1e57674

Please sign in to comment.