This commit is contained in:
Rob Walker
2018-08-02 10:50:06 -07:00
parent 46d9ba5ca0
commit b72e91f681
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]