From ead36d85c7fbc5349047da7c0ce5d47374980da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jan=C3=ADk?= Date: Fri, 2 Sep 2016 22:05:47 +0200 Subject: [PATCH] [WIP] Remove unused statement in serialization Zcash: Excludes changes to CBanEntry and CHDChain, which we don't have yet. --- src/wallet/wallet.h | 1 - src/wallet/walletdb.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 407c81ffc..3530d7632 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -316,7 +316,6 @@ public: template inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(*(CTransaction*)this); - nVersion = this->nVersion; READWRITE(hashBlock); READWRITE(vMerkleBranch); READWRITE(nIndex); diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index e455ad953..a977e17ee 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -62,7 +62,6 @@ public: template inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(this->nVersion); - nVersion = this->nVersion; READWRITE(nCreateTime); }