aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash.h b/src/hash.h
index 88926ab31f..73e31580d2 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -132,9 +132,9 @@ class CHashWriter
private:
CHash256 ctx;
+ const int nType;
+ const int nVersion;
public:
- int nType;
- int nVersion;
CHashWriter(int nTypeIn, int nVersionIn) : nType(nTypeIn), nVersion(nVersionIn) {}