diff --git a/integration_test/tests/wallet.rs b/integration_test/tests/wallet.rs index b304b1b1..0a88f6da 100644 --- a/integration_test/tests/wallet.rs +++ b/integration_test/tests/wallet.rs @@ -69,10 +69,6 @@ fn wallet__backup_wallet() { let node = Node::with_wallet(Wallet::Default, &[]); let file_path = integration_test::random_tmp_file(); - if file_path.exists() { - fs::remove_file(&file_path).expect("removefile"); - } - node.client.backup_wallet(&file_path).expect("backupwallet"); assert!(file_path.exists(), "Backup file should exist at destination"); assert!(file_path.is_file(), "Backup destination should be a file");