Consistently create temp dirs under ledger/farf (#10848)
This commit is contained in:
@ -1341,7 +1341,7 @@ fn main() {
|
||||
bank.clean_accounts();
|
||||
bank.update_accounts_hash();
|
||||
|
||||
let temp_dir = tempfile::TempDir::new().unwrap_or_else(|err| {
|
||||
let temp_dir = tempfile::tempdir_in(ledger_path).unwrap_or_else(|err| {
|
||||
eprintln!("Unable to create temporary directory: {}", err);
|
||||
exit(1);
|
||||
});
|
||||
|
Reference in New Issue
Block a user