message: No need to run though the loop if wallet is disabled.
  In CommitTxToMempool when it comes time to sync with the wallet
  we don't need to run through the loop of transactions if the wallet
  is disabled. Previoulsy we were only skipping the SyncWithWallets()
  function.
diff: @@ -307,13 +307,13 @@ void CommitTxToMempool()
  requester.Received(CInv(MSG_TX, data.hash), nullptr);
  }
  }
  +#ifdef ENABLE_WALLET
  for (auto &it : *txCommitQFinal)
  {
  CTxCommitData &data = it.second;
  -#ifdef ENABLE_WALLET
  SyncWithWallets(data.entry.GetSharedTx(), nullptr, -1);
  -#endif
  }
  +#endif
  txCommitQFinal->clear();
  delete txCommitQFinal;
  