From 971abbc0d8922ba271ecf9cdca2927ff80b2ce31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zoe=20Faltib=C3=A0?= Date: Mon, 25 Nov 2024 15:33:00 +0100 Subject: [PATCH] fix build with 1.77.0 --- tests/utils/helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils/helpers.rs b/tests/utils/helpers.rs index fc1eb44..1c8ba84 100644 --- a/tests/utils/helpers.rs +++ b/tests/utils/helpers.rs @@ -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,