Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar-Pepper committed Feb 14, 2025
1 parent d0a7168 commit 6d23093
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions zingo-sync/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ where
Ok(())
}

/// Obtains the mutex guard to the wallet and creates a [`crate::primitives::SyncStatus`] from the wallet's current
/// [`crate::primitives::SyncState`].
/// Obtains the mutex guard to the wallet and creates a [`crate::wallet::SyncStatus`] from the wallet's current
/// [`crate::wallet::SyncState`].
///
/// Designed to be called during the sync process with minimal interruption.
pub async fn sync_status<W>(wallet: Arc<Mutex<W>>) -> SyncStatus
Expand Down
4 changes: 2 additions & 2 deletions zingo-sync/src/wallet/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub trait SyncWallet {
) -> Result<&mut BTreeMap<TransparentAddressId, String>, Self::Error>;
}

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

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

0 comments on commit 6d23093

Please sign in to comment.