diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-11-12 10:53:18 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-01-24 14:25:42 +0100 |
commit | 0165a56f20bf0666c9a0850d5634bf5547cee29b (patch) | |
tree | 34a5bc0379c56bc056d6e1421c3c9bebca89bc89 /src/wallet/walletdb.h | |
parent | 71148b8947fe8b4d756822420a7f31c380159425 (diff) |
Refactor ZapWalletTxes to avoid layer vialotions
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r-- | src/wallet/walletdb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index b9db55baa4..6040372d9b 100644 --- a/src/wallet/walletdb.h +++ b/src/wallet/walletdb.h @@ -167,9 +167,9 @@ public: void ListAccountCreditDebit(const std::string& strAccount, std::list<CAccountingEntry>& acentries); DBErrors LoadWallet(CWallet* pwallet); - DBErrors FindWalletTx(CWallet* pwallet, std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx); - DBErrors ZapWalletTx(CWallet* pwallet, std::vector<CWalletTx>& vWtx); - DBErrors ZapSelectTx(CWallet* pwallet, std::vector<uint256>& vHashIn, std::vector<uint256>& vHashOut); + DBErrors FindWalletTx(std::vector<uint256>& vTxHash, std::vector<CWalletTx>& vWtx); + DBErrors ZapWalletTx(std::vector<CWalletTx>& vWtx); + DBErrors ZapSelectTx(std::vector<uint256>& vHashIn, std::vector<uint256>& vHashOut); static bool Recover(CDBEnv& dbenv, const std::string& filename, bool fOnlyKeys); static bool Recover(CDBEnv& dbenv, const std::string& filename); |