fixes #956
Unlike backup wallet, export watch-only wallet was not automatically adding the file extension to the exported file, making restoring difficult if the user doesn't manually add the file extension after exporting.
fixes #956
Unlike backup wallet, export watch-only wallet was not automatically adding the file extension to the exported file, making restoring difficult if the user doesn't manually add the file extension after exporting.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline and AI policy for information on the review process. A summary of reviews will appear here.
<!--5faf32d7da4f0f540f40219e4f7537a3-->
Unlike
backup wallet,export watch-only walletwas not automatically adding the file extension to the exported file, making restoring difficult if the user doesn't manually add the file extension after exporting.
As I noted here:
The GUI behaviour is consistent with the RPC.
This change does not prevent using exportwatchonlywallet no_dat_extension RPC and subsequently opening the file in the GUI.