diff options
| author | Pavel Janík <[email protected]> | 2016-09-02 22:05:47 +0200 |
|---|---|---|
| committer | Pavel Janík <[email protected]> | 2016-09-09 13:59:34 +0200 |
| commit | 64d9507ea5724634783cdaa290943292132086a9 (patch) | |
| tree | ceea55f1a8ec2faf856d1c383cddfed2cc018eb7 /src/wallet | |
| parent | Merge #8681: Performance Regression Fix: Pre-Allocate txChanged vector (diff) | |
| download | discoin-64d9507ea5724634783cdaa290943292132086a9.tar.xz discoin-64d9507ea5724634783cdaa290943292132086a9.zip | |
[WIP] Remove unused statement in serialization
Diffstat (limited to 'src/wallet')
| -rw-r--r-- | src/wallet/wallet.h | 1 | ||||
| -rw-r--r-- | src/wallet/walletdb.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 7a771350c..016e4a3d7 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -194,7 +194,6 @@ public: inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { std::vector<uint256> vMerkleBranch; // For compatibility with older versions. 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 5addd5c5c..9c9d4922a 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -57,7 +57,6 @@ public: inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(this->nVersion); - nVersion = this->nVersion; READWRITE(nExternalChainCounter); READWRITE(masterKeyID); } @@ -96,7 +95,6 @@ public: template <typename Stream, typename Operation> inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) { READWRITE(this->nVersion); - nVersion = this->nVersion; READWRITE(nCreateTime); if (this->nVersion >= VERSION_WITH_HDDATA) { |