Skip to content

Commit 6d23093

Browse files
committed
fix docs
1 parent d0a7168 commit 6d23093

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

zingo-sync/src/sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ where
200200
Ok(())
201201
}
202202

203-
/// Obtains the mutex guard to the wallet and creates a [`crate::primitives::SyncStatus`] from the wallet's current
204-
/// [`crate::primitives::SyncState`].
203+
/// Obtains the mutex guard to the wallet and creates a [`crate::wallet::SyncStatus`] from the wallet's current
204+
/// [`crate::wallet::SyncState`].
205205
///
206206
/// Designed to be called during the sync process with minimal interruption.
207207
pub async fn sync_status<W>(wallet: Arc<Mutex<W>>) -> SyncStatus

zingo-sync/src/wallet/traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub trait SyncWallet {
4747
) -> Result<&mut BTreeMap<TransparentAddressId, String>, Self::Error>;
4848
}
4949

50-
/// Trait for interfacing [`crate::primitives::WalletBlock`]s with wallet data
50+
/// Trait for interfacing [`crate::wallet::WalletBlock`]s with wallet data
5151
pub trait SyncBlocks: SyncWallet {
5252
/// Get a stored wallet compact block from wallet data by block height
5353
/// Must return error if block is not found
@@ -77,7 +77,7 @@ pub trait SyncBlocks: SyncWallet {
7777
}
7878
}
7979

80-
/// Trait for interfacing [`crate::primitives::WalletTransaction`]s with wallet data
80+
/// Trait for interfacing [`crate::wallet::WalletTransaction`]s with wallet data
8181
pub trait SyncTransactions: SyncWallet {
8282
/// Get reference to wallet transactions
8383
fn get_wallet_transactions(&self) -> Result<&HashMap<TxId, WalletTransaction>, Self::Error>;

0 commit comments

Comments
 (0)