Skip to content

Commit 6291afe

Browse files
committed
fix(chain): Make Anchor type in FullScanResult generic
1 parent be119e5 commit 6291afe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/chain/src/spk_client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,9 @@ impl<K: Ord + Clone> FullScanRequest<K> {
316316
/// Data returned from a spk-based blockchain client full scan.
317317
///
318318
/// See also [`FullScanRequest`].
319-
pub struct FullScanResult<K> {
319+
pub struct FullScanResult<K, A = ConfirmationTimeHeightAnchor> {
320320
/// The update to apply to the receiving [`LocalChain`](crate::local_chain::LocalChain).
321-
pub graph_update: TxGraph<ConfirmationTimeHeightAnchor>,
321+
pub graph_update: TxGraph<A>,
322322
/// The update to apply to the receiving [`TxGraph`].
323323
pub chain_update: CheckPoint,
324324
/// Last active indices for the corresponding keychains (`K`).

0 commit comments

Comments
 (0)