mirror of https://github.com/bitcoin/bitcoin
This assures that we don't overwrite a random file called `wallet.backup` that happens to be in the current directory. It also assures that the temporary file will be cleaned up. Noticed by Evan Klitzke, came up in discussion here: https://github.com/bitcoin/bitcoin/pull/10880#discussion_r128460722pull/10927/head
parent
1caafa6cde
commit
88af227687
Loading…
Reference in new issue