fixup! refactor(bitcoincore): convert bitcoincore into gateway adapter

Trim the scan_wallet comment so it only states the Rust-side behavior: derive every descriptor address, without the extra cross-reference to the Python path.
This commit is contained in:
Renato Britto
2026-03-31 19:42:39 -03:00
parent 27087de01d
commit 7fb428da55

View File

@@ -526,9 +526,7 @@ impl BlockchainGateway for BitcoinCoreRpc {
// Derive ALL addresses from every descriptor (both external and
// internal chains) so that `is_ours()` in TxGraph recognises
// every derived address — matching the Python reference which
// calls `derive_all_addresses(descriptors)` before building the
// TxGraph.
// every derived address.
if let Ok(descriptors) = self.list_wallet_descriptors(wallet_name) {
let mut internal_addresses = HashSet::new();
let mut derived_addresses = HashSet::new();