mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanup
This commit is contained in:
2
SHAMap.h
2
SHAMap.h
@@ -164,7 +164,7 @@ public:
|
|||||||
TNType getType() const { return mType; }
|
TNType getType() const { return mType; }
|
||||||
|
|
||||||
// type functions
|
// 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 isInner() const { return mType==INNER; }
|
||||||
bool isValid() const { return mType!=ERROR; }
|
bool isValid() const { return mType!=ERROR; }
|
||||||
bool isTransaction() const { return mType!=TRANSACTION; }
|
bool isTransaction() const { return mType!=TRANSACTION; }
|
||||||
|
|||||||
Reference in New Issue
Block a user