Skip to content

Commit 7217a88

Browse files
committed
fix(chain): Make Anchor type in FullScanResult generic
1 parent 0b8df90 commit 7217a88

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
@@ -377,9 +377,9 @@ impl<K: Ord + Clone> FullScanRequest<K> {
377377
/// Data returned from a spk-based blockchain client full scan.
378378
///
379379
/// See also [`FullScanRequest`].
380-
pub struct FullScanResult<K> {
380+
pub struct FullScanResult<K, A = ConfirmationTimeHeightAnchor> {
381381
/// The update to apply to the receiving [`LocalChain`](crate::local_chain::LocalChain).
382-
pub graph_update: TxGraph<ConfirmationTimeHeightAnchor>,
382+
pub graph_update: TxGraph<A>,
383383
/// The update to apply to the receiving [`TxGraph`].
384384
pub chain_update: CheckPoint,
385385
/// Last active indices for the corresponding keychains (`K`).

0 commit comments

Comments
 (0)