Pin tokio dependencies

This commit is contained in:
Aditya Kulkarni
2019-10-22 07:42:43 -07:00
parent f058e0d3d2
commit 9324f7f097
4 changed files with 14 additions and 7 deletions

View File

@@ -1399,9 +1399,9 @@ impl LightWallet {
// Create a map from address -> sk for all taddrs, so we can spend from the
// right address
let address_to_sk: HashMap<_, _> = self.tkeys.read().unwrap().iter().map(|sk|
(self.address_from_sk(&sk), sk.clone())
).collect();
let address_to_sk = self.tkeys.read().unwrap().iter()
.map(|sk| (self.address_from_sk(&sk), sk.clone()))
.collect::<HashMap<_,_>>();
// Add all tinputs
tinputs.iter()