diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -121,7 +121,7 @@ "-zapwallettxes=", "Delete all wallet transactions and only recover those parts of the " "blockchain through -rescan on startup (1 = keep tx meta data e.g. " - "account owner and payment request information, 2 = drop tx meta data)", + "payment request information, 2 = drop tx meta data)", false, OptionsCategory::WALLET); gArgs.AddArg("-dblogsize=", diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1454,31 +1454,6 @@ void KeepScript() override { KeepKey(); } }; -/** - * DEPRECATED Account information. - * Stored in wallet with key "acc"+string account name. - */ -class CAccount { -public: - CPubKey vchPubKey; - - CAccount() { SetNull(); } - - void SetNull() { vchPubKey = CPubKey(); } - - ADD_SERIALIZE_METHODS; - - template - inline void SerializationOp(Stream &s, Operation ser_action) { - int nVersion = s.GetVersion(); - if (!(s.GetType() & SER_GETHASH)) { - READWRITE(nVersion); - } - - READWRITE(vchPubKey); - } -}; - /** RAII object to check and reserve a wallet rescan */ class WalletRescanReserver { private: diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -34,7 +34,6 @@ static const bool DEFAULT_FLUSHWALLET = true; -class CAccount; struct CBlockLocator; class CKeyPool; class CMasterKey;