Remove redundant curly braces
This commit is contained in:
committed by
Simon
parent
005f3ad1dd
commit
49695a97b5
@@ -755,7 +755,6 @@ void CWallet::ClearNoteWitnessCache()
|
|||||||
void CWallet::IncrementNoteWitnesses(const CBlockIndex* pindex,
|
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) {
|
||||||
@@ -868,10 +867,8 @@ void CWallet::IncrementNoteWitnesses(const CBlockIndex* pindex,
|
|||||||
// 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) {
|
||||||
@@ -922,7 +919,6 @@ void CWallet::DecrementNoteWitnesses(const CBlockIndex* pindex)
|
|||||||
// 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