/tmp/farf no good on multi-user machine

This commit is contained in:
Rob Walker
2018-08-06 13:28:48 -07:00
committed by Grimes
parent 8cbaa19d2e
commit 3beb38ac8a
4 changed files with 4 additions and 4 deletions

View File

@ -298,7 +298,7 @@ mod tests {
fn tmp_ledger(name: &str, mint: &Mint) -> String {
let keypair = KeyPair::new();
let path = format!("/tmp/farf/{}-{}", name, keypair.pubkey());
let path = format!("/tmp/tmp-ledger-{}-{}", name, keypair.pubkey());
let mut writer = LedgerWriter::new(&path, true).unwrap();
writer.write_entries(mint.create_entries()).unwrap();