diff --git a/example-crates/wallet_esplora_async/src/main.rs b/example-crates/wallet_esplora_async/src/main.rs index c7a729af60..ff1bbfb6d9 100644 --- a/example-crates/wallet_esplora_async/src/main.rs +++ b/example-crates/wallet_esplora_async/src/main.rs @@ -56,7 +56,7 @@ async fn main() -> Result<(), Box> { let (update_graph, last_active_indices) = client .scan_txs_with_keychains(keychain_spks, None, None, STOP_GAP, PARALLEL_REQUESTS) .await?; - let missing_heights = wallet.tx_graph().missing_heights(wallet.local_chain()); + let missing_heights = update_graph.missing_heights(wallet.local_chain()); let chain_update = client.update_local_chain(prev_tip, missing_heights).await?; let update = Update { last_active_indices, diff --git a/example-crates/wallet_esplora_blocking/src/main.rs b/example-crates/wallet_esplora_blocking/src/main.rs index a93a449c82..71554b0a81 100644 --- a/example-crates/wallet_esplora_blocking/src/main.rs +++ b/example-crates/wallet_esplora_blocking/src/main.rs @@ -55,7 +55,7 @@ fn main() -> Result<(), Box> { let (update_graph, last_active_indices) = client.scan_txs_with_keychains(keychain_spks, None, None, STOP_GAP, PARALLEL_REQUESTS)?; - let missing_heights = wallet.tx_graph().missing_heights(wallet.local_chain()); + let missing_heights = update_graph.missing_heights(wallet.local_chain()); let chain_update = client.update_local_chain(prev_tip, missing_heights)?; let update = Update { last_active_indices,