Asked this question in stackexchange and was directed here.
I have had Bitcoin Core on this computer before, and it worked fine for over a year with no trouble. I had recently uninstalled it, and today attempted to re-install, but, after running setup, on attempting to open bitcoin-qt.exe, the following error appears:
Assertion failed! Program: C:\Program Files\Bitcoin\bitcoin-qt.exe File: wallet/scriptpubkeyman.cpp, Line 720 Expression: mapKeys.empty()
...with three options, Abort, Retry, and Ignore. Running from the command prompt with -rescan does not help.
Any assistance would be very much appreciated.
To reproduce
This happens consistently when opening bitcoin-qt.exe, including after uninstalling and reinstalling further. I have tried installing on both a C:\ and D:\ drive, and the same error appears on both.
System information
I am running bitcoin-0.20.1-win64, Windows 10. Downloaded from bitcoincore.org. C:\ is SSD, and D:\ is HDD.