mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
Bugfix: wallet: Increment "update counter" when modifying account stuff
This commit is contained in:
parent
f28eb8020e
commit
9d15d5548d
1 changed files with 2 additions and 2 deletions
|
@ -172,12 +172,12 @@ bool CWalletDB::ReadAccount(const std::string& strAccount, CAccount& account)
|
||||||
|
|
||||||
bool CWalletDB::WriteAccount(const std::string& strAccount, const CAccount& account)
|
bool CWalletDB::WriteAccount(const std::string& strAccount, const CAccount& account)
|
||||||
{
|
{
|
||||||
return batch.Write(std::make_pair(std::string("acc"), strAccount), account);
|
return WriteIC(std::make_pair(std::string("acc"), strAccount), account);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWalletDB::WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry)
|
bool CWalletDB::WriteAccountingEntry(const uint64_t nAccEntryNum, const CAccountingEntry& acentry)
|
||||||
{
|
{
|
||||||
return batch.Write(std::make_pair(std::string("acentry"), std::make_pair(acentry.strAccount, nAccEntryNum)), acentry);
|
return WriteIC(std::make_pair(std::string("acentry"), std::make_pair(acentry.strAccount, nAccEntryNum)), acentry);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWalletDB::WriteAccountingEntry_Backend(const CAccountingEntry& acentry)
|
bool CWalletDB::WriteAccountingEntry_Backend(const CAccountingEntry& acentry)
|
||||||
|
|
Loading…
Reference in a new issue