diff options
| author | Matt Corallo <[email protected]> | 2012-08-13 05:26:30 +0200 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2013-01-16 12:48:02 -0500 |
| commit | 269d9c6492dc275650d2137d53f4afdca88e3216 (patch) | |
| tree | 32ded97569c406479d8393eda9163f3ba488b7b9 /src/main.cpp | |
| parent | Add a filter field in CNode, add filterload+filteradd+filterclear (diff) | |
| download | discoin-269d9c6492dc275650d2137d53f4afdca88e3216.tar.xz discoin-269d9c6492dc275650d2137d53f4afdca88e3216.zip | |
Replace RelayMessage with RelayTransaction.
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9a498ff27..93079693c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3184,7 +3184,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) if (tx.AcceptToMemoryPool(true, &fMissingInputs)) { SyncWithWallets(inv.hash, tx, NULL, true); - RelayMessage(inv, vMsg); + RelayTransaction(tx, inv.hash, vMsg); mapAlreadyAskedFor.erase(inv); vWorkQueue.push_back(inv.hash); vEraseQueue.push_back(inv.hash); @@ -3207,7 +3207,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) { printf(" accepted orphan tx %s\n", inv.hash.ToString().substr(0,10).c_str()); SyncWithWallets(inv.hash, tx, NULL, true); - RelayMessage(inv, vMsg); + RelayTransaction(tx, inv.hash, vMsg); mapAlreadyAskedFor.erase(inv); vWorkQueue.push_back(inv.hash); vEraseQueue.push_back(inv.hash); |