aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-21 13:31:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-21 18:16:11 +0200
commitcdcc319c2dc63414d5a60a1ee7b8b4a61b77fa09 (patch)
treed9e35d3a8170bf414c0223db6c565f337b36d56d /src/wallet.h
parent7be8b2ff9c9ea425bdda2ad1a702699b3d2da9f8 (diff)
change type of various bare chars to bool that are only used as bool (and never serialized)
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet.h b/src/wallet.h
index c1461b1feb..37cf549b94 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -317,10 +317,10 @@ public:
std::vector<char> vfSpent; // which outputs are already spent
// memory only
- mutable char fDebitCached;
- mutable char fCreditCached;
- mutable char fAvailableCreditCached;
- mutable char fChangeCached;
+ mutable bool fDebitCached;
+ mutable bool fCreditCached;
+ mutable bool fAvailableCreditCached;
+ mutable bool fChangeCached;
mutable int64 nDebitCached;
mutable int64 nCreditCached;
mutable int64 nAvailableCreditCached;