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
No known key found for this signature in database
GPG Key ID: 5E8AFC3034FDFA4F

View File

@ -924,7 +924,7 @@ where
.as_ref() .as_ref()
.unwrap() .unwrap()
.borrow_mut() .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()) { for (script, history) in chunk.into_iter().zip(call_result.into_iter()) {
trace!("received history for {:?}, size {}", script, history.len()); trace!("received history for {:?}, size {}", script, history.len());