diff options
| author | Pieter Wuille <[email protected]> | 2013-05-01 19:09:04 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-05-01 19:21:55 +0200 |
| commit | 2aceeb01a9b0b0c6bfa0d56211453e87bc33d6e4 (patch) | |
| tree | 1677a32a75dcfd038a917175d3cc80b6ffac9f39 /src/test/script_tests.cpp | |
| parent | Merge pull request #2595 from sipa/noannloc (diff) | |
| download | discoin-2aceeb01a9b0b0c6bfa0d56211453e87bc33d6e4.tar.xz discoin-2aceeb01a9b0b0c6bfa0d56211453e87bc33d6e4.zip | |
Bugfix: if no bestblock record is present, do a -rescan
It is possible to have a wallet.dat file without any bestblock
record at all (if created offline, for example), which - when
loaded into a client with a up-to-date chain - does no rescan and
shows no transactions.
Also make sure to write the current best block after a rescan, so
it isn't necessary twice.
Diffstat (limited to 'src/test/script_tests.cpp')
0 files changed, 0 insertions, 0 deletions