Permalink
Browse files

Remove un-needed SyncWithWallets

We already have it under AcceptToMemoryPool
  • Loading branch information...
Tranz5 committed Aug 23, 2014
1 parent 0d9bd60 commit 313e48112d8052fa07c0851e1bd4653e2caa7309
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/main.cpp
@@ -3496,7 +3496,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
bool fMissingInputs = false;
if (AcceptToMemoryPool(mempool, tx, &fMissingInputs))
{
SyncWithWallets(tx, NULL, true);
RelayTransaction(tx, inv.hash);
mapAlreadyAskedFor.erase(inv);
vWorkQueue.push_back(inv.hash);
@@ -3517,7 +3516,6 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
if (AcceptToMemoryPool(mempool, orphanTx, &fMissingInputs2))
{
printf(" accepted orphan tx %s\n", orphanTxHash.ToString().substr(0,10).c_str());
SyncWithWallets(tx, NULL, true);
RelayTransaction(orphanTx, orphanTxHash);
mapAlreadyAskedFor.erase(CInv(MSG_TX, orphanTxHash));
vWorkQueue.push_back(orphanTxHash);

0 comments on commit 313e481

Please sign in to comment.