Browse Source

[WIP] Remove unused statement in serialization

tags/v0.15.1
Pavel Janík 4 years ago
parent
commit
64d9507ea5
5 changed files with 0 additions and 6 deletions
  1. 0
    1
      src/addrdb.h
  2. 0
    1
      src/qt/recentrequeststablemodel.h
  3. 0
    1
      src/qt/walletmodel.h
  4. 0
    1
      src/wallet/wallet.h
  5. 0
    2
      src/wallet/walletdb.h

+ 0
- 1
src/addrdb.h View File

@@ -48,7 +48,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);
READWRITE(nBanUntil);
READWRITE(banReason);

+ 0
- 1
src/qt/recentrequeststablemodel.h View File

@@ -31,7 +31,6 @@ public:
unsigned int nDate = date.toTime_t();

READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(id);
READWRITE(nDate);
READWRITE(recipient);

+ 0
- 1
src/qt/walletmodel.h View File

@@ -75,7 +75,6 @@ public:
std::string sAuthenticatedMerchant = authenticatedMerchant.toStdString();

READWRITE(this->nVersion);
nVersion = this->nVersion;
READWRITE(sAddress);
READWRITE(sLabel);
READWRITE(amount);

+ 0
- 1
src/wallet/wallet.h View File

@@ -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);

+ 0
- 2
src/wallet/walletdb.h View File

@@ -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)
{

Loading…
Cancel
Save