, S), SaplingDomain, CompactOutputDescription, CompactDecryptor, T>;
#[tracing::instrument(skip_all, fields(height = block.height))]
pub(crate) fn add_block_to_runner(
@@ -528,13 +529,13 @@ where
let mut decrypted = runner.collect_results(cur_hash, txid);
(0..decoded.len())
.map(|i| {
- decrypted.remove(&(txid, i)).map(|d_note| {
- let a = d_note.ivk_tag.0;
- let nk = vks.get(&d_note.ivk_tag).expect(
+ decrypted.remove(&(txid, i)).map(|d_out| {
+ let a = d_out.ivk_tag.0;
+ let nk = vks.get(&d_out.ivk_tag).expect(
"The batch runner and scan_block must use the same set of IVKs.",
);
- (d_note.note, a, d_note.ivk_tag.1, (*nk).clone())
+ (d_out.note, a, d_out.ivk_tag.1, (*nk).clone())
})
})
.collect()
@@ -850,7 +851,7 @@ mod tests {
assert_eq!(cb.vtx.len(), 2);
let mut batch_runner = if scan_multithreaded {
- let mut runner = BatchRunner::<_, _, _, ()>::new(
+ let mut runner = BatchRunner::<_, _, _, _, ()>::new(
10,
dfvk.to_sapling_keys()
.iter()
@@ -937,7 +938,7 @@ mod tests {
assert_eq!(cb.vtx.len(), 3);
let mut batch_runner = if scan_multithreaded {
- let mut runner = BatchRunner::<_, _, _, ()>::new(
+ let mut runner = BatchRunner::<_, _, _, _, ()>::new(
10,
dfvk.to_sapling_keys()
.iter()