upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp4
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 {