diff options
Diffstat (limited to 'src/main_gui.cpp')
| -rw-r--r-- | src/main_gui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 99bcb6f..c593162 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp | |||
| @@ -243,6 +243,10 @@ int main(int argc, char* argv[]) | |||
| 243 | try | 243 | try |
| 244 | { | 244 | { |
| 245 | if (!LoadWallet()) { fprintf(stderr, "LoadWallet failed\n"); return 1; } | 245 | if (!LoadWallet()) { fprintf(stderr, "LoadWallet failed\n"); return 1; } |
| 246 | |||
| 247 | // After the block index, so there is a chain to compare the wallet | ||
| 248 | // against, and before anything reports a balance. | ||
| 249 | RescanSpentFlags(); | ||
| 246 | } | 250 | } |
| 247 | catch (const std::exception& e) | 251 | catch (const std::exception& e) |
| 248 | { | 252 | { |