Remove redundant tmp file existence check in wallet integration test#249
Merged
tcharding merged 1 commit intorust-bitcoin:masterfrom Jun 16, 2025
Merged
Conversation
tcharding
approved these changes
Jun 16, 2025
blaze-smith470pm
added a commit
to blaze-smith470pm/corepc
that referenced
this pull request
Sep 26, 2025
…eck in wallet integration test 7eb37025b185462575e9d0f7961f85c0886a2caa Remove redundant tmp file existence check in wallet integration test (GideonBature) Pull request description: This PR removes the redundant `if file_path.exists()` check before deleting a temporary file. As pointed out during review of `backupwallet` integration test [here](rust-bitcoin/corepc#247 (comment)), the check is unnecessary. ACKs for top commit: tcharding: ACK 7eb37025b185462575e9d0f7961f85c0886a2caa Tree-SHA512: d2731742b13fc5395d5f691e131db3008f9738117158ebb0ea2dd2782a647eaba17a5481e7d8875d139ddb1e514ea1cbd6186c7cf935f5adcb7522eee06dc40d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the redundant
if file_path.exists()check before deleting a temporary file.As pointed out during review of
backupwalletintegration test here, the check is unnecessary.