message: Remove unneccessary braces and indent properly
  No semantic changes.
diff: @@ -816,7 +816,6 @@ bool CWallet::AddToWallet(const CWalletTx &wtxIn, bool fFromLoadWallet, CWalletD
  * If fUpdate is true, existing transactions will be updated.
  */
  bool CWallet::AddToWalletIfInvolvingMe(const CTransaction &tx, const CBlock *pblock, bool fUpdate, int txIndex)
  -{
  {
  AssertLockHeld(cs_wallet);
  @@ -824,8 +823,7 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction &tx, const CBlock *pbl
  {
  for (const CTxIn &txin : tx.vin)
  {
  - std::pair<TxSpends::const_iterator, TxSpends::const_iterator> range =
  - mapTxSpends.equal_range(txin.prevout);
  + std::pair<TxSpends::const_iterator, TxSpends::const_iterator> range = mapTxSpends.equal_range(txin.prevout);
  while (range.first != range.second)
  {
  if (range.first->second != tx.GetHash())
  @@ -858,7 +856,6 @@ bool CWallet::AddToWalletIfInvolvingMe(const CTransaction &tx, const CBlock *pbl
  return AddToWallet(wtx, false, &walletdb);
  }
  - }
  return false;
  }
  @@ -1008,7 +1005,6 @@ void CWallet::SyncTransaction(const CTransaction &tx, const CBlock *pblock, int
  }
  CAmount CWallet::GetDebit(const CTxIn &txin, const isminefilter &filter) const
  -{
  {
  LOCK(cs_wallet);
  map<uint256, CWalletTx>::const_iterator mi = mapWallet.find(txin.prevout.hash);
  @@ -1019,14 +1015,12 @@ CAmount CWallet::GetDebit(const CTxIn &txin, const isminefilter &filter) const
  if (IsMine(prev.vout[txin.prevout.n]) & filter)
  return prev.vout[txin.prevout.n].nValue;
  }
  - }
  return 0;
  }
  isminetype CWallet::IsMine(const CTxDestination &dest) const { return ::IsMine(*this, dest, chainActive.Tip()); }
  isminetype CWallet::IsMine(const CTxOut &txout) const { return ::IsMine(*this, txout.scriptPubKey, chainActive.Tip()); }
  isminetype CWallet::IsMine(const CTxIn &txin) const
  -{
  {
  LOCK(cs_wallet);
  map<uint256, CWalletTx>::const_iterator mi = mapWallet.find(txin.prevout.hash);
  @@ -1036,7 +1030,6 @@ isminetype CWallet::IsMine(const CTxIn &txin) const
  if (txin.prevout.n < prev.vout.size())
  return IsMine(prev.vout[txin.prevout.n]);
  }
  - }
  return ISMINE_NO;
  }
  @@ -2698,7 +2691,6 @@ bool CWallet::SetDefaultKey(const CPubKey &vchPubKey)
  * and generate all new keys
  */
  bool CWallet::NewKeyPool()
  -{
  {
  LOCK(cs_wallet);
  CWalletDB walletdb(strWalletFile);
  @@ -2719,12 +2711,10 @@ bool CWallet::NewKeyPool()
  setKeyPool.insert(nIndex);
  }
  LOGA("CWallet::NewKeyPool wrote %d new keys\n", nKeys);
  - }
  return true;
  }
  bool CWallet::TopUpKeyPool(unsigned int kpSize)
  -{
  {
  LOCK(cs_wallet);
  @@ -2750,7 +2740,6 @@ bool CWallet::TopUpKeyPool(unsigned int kpSize)
  setKeyPool.insert(nEnd);
  LOGA("keypool added key %d, size=%u\n", nEnd, setKeyPool.size());
  }
  - }
  return true;
  }
  