diff --git a/SHAMap.h b/SHAMap.h index 0e35f6b4b..342f50fec 100644 --- a/SHAMap.h +++ b/SHAMap.h @@ -164,7 +164,7 @@ public: TNType getType() const { return mType; } // type functions - bool isLeaf() const { return mType==TRANSACTION || mType==ACCOUNT_STATE; } + bool isLeaf() const { return (mType==TRANSACTION) || (mType==ACCOUNT_STATE); } bool isInner() const { return mType==INNER; } bool isValid() const { return mType!=ERROR; } bool isTransaction() const { return mType!=TRANSACTION; }