aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorPatrick Strateman <patrick.strateman@gmail.com>2016-05-09 00:15:12 -0700
committerPatrick Strateman <patrick.strateman@gmail.com>2016-05-09 00:20:17 -0700
commit0fd599767d2dabf25ac8c3543cb586cfc4b9d816 (patch)
tree13c6a9ce0048dd662d98136caf0774a81619859e /src/wallet/walletdb.h
parentfbd84788e676c9cbd126f6236ec46bb2f342bd00 (diff)
downloadbitcoin-0fd599767d2dabf25ac8c3543cb586cfc4b9d816.tar.xz
Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index fe6c366343..5345c0907e 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -87,7 +87,7 @@ public:
bool WritePurpose(const std::string& strAddress, const std::string& purpose);
bool ErasePurpose(const std::string& strAddress);
- bool WriteTx(uint256 hash, const CWalletTx& wtx);
+ bool WriteTx(const CWalletTx& wtx);
bool EraseTx(uint256 hash);
bool WriteKey(const CPubKey& vchPubKey, const CPrivKey& vchPrivKey, const CKeyMetadata &keyMeta);