Small fix in sync

This commit is contained in:
Daniela Brozzoni
2020-02-15 20:16:21 +01:00
committed by Alekos Filini
parent 1a4e1bd96c
commit 7df3b4844e

View File

@@ -924,7 +924,7 @@ where
.as_ref()
.unwrap()
.borrow_mut()
.batch_script_get_history(chunk.iter().collect())?; // TODO: fix electrum client
.batch_script_get_history(chunk.iter().collect::<Vec<_>>())?; // TODO: fix electrum client
for (script, history) in chunk.into_iter().zip(call_result.into_iter()) {
trace!("received history for {:?}, size {}", script, history.len());