diff options
| author | Patrick Strateman <[email protected]> | 2016-05-09 00:15:12 -0700 |
|---|---|---|
| committer | Patrick Strateman <[email protected]> | 2016-05-09 00:20:17 -0700 |
| commit | 0fd599767d2dabf25ac8c3543cb586cfc4b9d816 (patch) | |
| tree | 13c6a9ce0048dd662d98136caf0774a81619859e /src/wallet/walletdb.h | |
| parent | Merge #8009: Docs: Fixed invalid example paths in gitian-building.md (diff) | |
| download | discoin-0fd599767d2dabf25ac8c3543cb586cfc4b9d816.tar.xz discoin-0fd599767d2dabf25ac8c3543cb586cfc4b9d816.zip | |
Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk
Diffstat (limited to 'src/wallet/walletdb.h')
| -rw-r--r-- | src/wallet/walletdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h index fe6c36634..5345c0907 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); |