Fix immature balance caching issues 27/head
authorCryptoManiac <balthazar@yandex.ru>
Sat, 2 Aug 2014 18:34:04 +0000 (22:34 +0400)
committerCryptoManiac <balthazar@yandex.ru>
Sat, 2 Aug 2014 18:34:04 +0000 (22:34 +0400)
src/wallet.h

index 96fe239..f9a2983 100644 (file)
@@ -460,6 +460,8 @@ public:
         fWatchCreditCached = false;
         fAvailableCreditCached = false;
         fAvailableWatchCreditCached = false;
+        fImmatureCreditCached = false;
+        fImmatureWatchCreditCached = false;
         fChangeCached = false;
         nDebitCached = 0;
         nWatchDebitCached = 0;
@@ -467,6 +469,8 @@ public:
         nWatchCreditCached = 0;
         nAvailableCreditCached = 0;
         nAvailableWatchCreditCached = 0;
+        nImmatureCreditCached = 0;
+        nImmatureWatchCreditCached = 0;
         nChangeCached = 0;
         nOrderPos = -1;
     }