Revert "Revert "fixups""

This reverts commit e2c68d8775.
This commit is contained in:
Rob Walker
2018-08-03 11:06:06 -07:00
parent 5193819d8e
commit 692b125391
5 changed files with 4 additions and 46 deletions

View File

@ -297,16 +297,7 @@ mod tests {
fn tmp_ledger_path(name: &str) -> String {
let keypair = KeyPair::new();
let id = {
let ids: Vec<_> = keypair
.pubkey()
.iter()
.map(|id| format!("{}", id))
.collect();
ids.join("")
};
format!("farf/{}-{}", name, id)
format!("farf/{}-{}", name, keypair.pubkey())
}
#[test]