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 Dec 2, 2024
1 parent 0cd74bf commit 971abbc
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 @@ -499,8 +499,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 971abbc

Please sign in to comment.