From: 志宇 Date: Wed, 1 May 2024 13:34:09 +0000 (+0800) Subject: fix(chain): Make `Anchor` type in `FullScanResult` generic X-Git-Tag: v1.0.0-alpha.11~1^2~10 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CommandStringError.html?a=commitdiff_plain;h=721bb7f519131ca295a00efa2d242b4923e2bddd;p=bdk fix(chain): Make `Anchor` type in `FullScanResult` generic --- diff --git a/crates/chain/src/spk_client.rs b/crates/chain/src/spk_client.rs index 6eb32da7..5b2366e9 100644 --- a/crates/chain/src/spk_client.rs +++ b/crates/chain/src/spk_client.rs @@ -316,9 +316,9 @@ impl FullScanRequest { /// Data returned from a spk-based blockchain client full scan. /// /// See also [`FullScanRequest`]. -pub struct FullScanResult { +pub struct FullScanResult { /// The update to apply to the receiving [`LocalChain`](crate::local_chain::LocalChain). - pub graph_update: TxGraph, + pub graph_update: TxGraph, /// The update to apply to the receiving [`TxGraph`]. pub chain_update: CheckPoint, /// Last active indices for the corresponding keychains (`K`).