From 407109b0cc672c94586d9fca4be42ca2b745b913 Mon Sep 17 00:00:00 2001 From: xdustinface Date: Sat, 9 May 2026 20:31:37 +1000 Subject: [PATCH] test(dash-spv): fix `create_test_wallet` import in `tests_transaction` `#740` moved `create_test_wallet` from `dashd_sync/setup.rs` to `dash_spv::test_utils` and changed `setup.rs` to a private re-import. `#748` was authored against an earlier base where `setup.rs` still defined a local `pub(super) fn create_test_wallet`, so the new tests in `tests_transaction.rs` imported it via `super::setup`. Each PR was green against its own base, but their merged state fails to compile because the `super::setup` import is now private. Switch the import to `dash_spv::test_utils`, matching `tests_basic.rs`, `tests_mempool.rs`, `tests_multi_wallet.rs`, and `tests_restart.rs`. --- dash-spv/tests/dashd_sync/tests_transaction.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dash-spv/tests/dashd_sync/tests_transaction.rs b/dash-spv/tests/dashd_sync/tests_transaction.rs index c0378d700..ec3b66957 100644 --- a/dash-spv/tests/dashd_sync/tests_transaction.rs +++ b/dash-spv/tests/dashd_sync/tests_transaction.rs @@ -7,8 +7,8 @@ use tokio::sync::RwLock; use super::helpers::{ wait_for_mempool_tx, wait_for_sync, wait_for_wallet_synced, EMPTY_MNEMONIC, SECONDARY_MNEMONIC, }; -use super::setup::{create_and_start_client, create_test_wallet, TestContext}; -use dash_spv::test_utils::TestChain; +use super::setup::{create_and_start_client, TestContext}; +use dash_spv::test_utils::{create_test_wallet, TestChain}; use dashcore::address::NetworkUnchecked; use key_wallet::account::ManagedAccountTrait; use key_wallet::wallet::managed_wallet_info::transaction_builder::{