Remove redundant curly braces
This commit is contained in:
committed by
Simon
parent
005f3ad1dd
commit
49695a97b5
@@ -756,7 +756,6 @@ void CWallet::IncrementNoteWitnesses(const CBlockIndex* pindex,
|
|||||||
const CBlock* pblockIn,
|
const CBlock* pblockIn,
|
||||||
ZCIncrementalMerkleTree& tree)
|
ZCIncrementalMerkleTree& tree)
|
||||||
{
|
{
|
||||||
{
|
|
||||||
LOCK(cs_wallet);
|
LOCK(cs_wallet);
|
||||||
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
||||||
for (mapSproutNoteData_t::value_type& item : wtxItem.second.mapSproutNoteData) {
|
for (mapSproutNoteData_t::value_type& item : wtxItem.second.mapSproutNoteData) {
|
||||||
@@ -867,12 +866,10 @@ void CWallet::IncrementNoteWitnesses(const CBlockIndex* pindex,
|
|||||||
// For performance reasons, we write out the witness cache in
|
// For performance reasons, we write out the witness cache in
|
||||||
// CWallet::SetBestChain() (which also ensures that overall consistency
|
// CWallet::SetBestChain() (which also ensures that overall consistency
|
||||||
// of the wallet.dat is maintained).
|
// of the wallet.dat is maintained).
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex)
|
void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex)
|
||||||
{
|
{
|
||||||
{
|
|
||||||
LOCK(cs_wallet);
|
LOCK(cs_wallet);
|
||||||
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
for (std::pair<const uint256, CWalletTx>& wtxItem : mapWallet) {
|
||||||
for (mapSproutNoteData_t::value_type& item : wtxItem.second.mapSproutNoteData) {
|
for (mapSproutNoteData_t::value_type& item : wtxItem.second.mapSproutNoteData) {
|
||||||
@@ -921,7 +918,6 @@ void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex)
|
|||||||
// For performance reasons, we write out the witness cache in
|
// For performance reasons, we write out the witness cache in
|
||||||
// CWallet::SetBestChain() (which also ensures that overall consistency
|
// CWallet::SetBestChain() (which also ensures that overall consistency
|
||||||
// of the wallet.dat is maintained).
|
// of the wallet.dat is maintained).
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase)
|
bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase)
|
||||||
|
|||||||
Reference in New Issue
Block a user