Fix bench clients reading primordial account files (#5860)

* Fix bench-tps balance lookup

* Also fix bench-exchange
This commit is contained in:
Sagar Dhawan
2019-09-09 19:48:43 -07:00
committed by GitHub
parent b881029de3
commit 39f89e5a56
2 changed files with 11 additions and 7 deletions

View File

@@ -140,7 +140,8 @@ where
let path = Path::new(&client_ids_and_stake_file);
let file = File::open(path).unwrap();
let accounts: HashMap<String, u64> = serde_yaml::from_reader(file).unwrap();
let accounts: HashMap<String, PrimordialAccountDetails> =
serde_yaml::from_reader(file).unwrap();
accounts
.into_iter()
.map(|(keypair, _)| {