diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-04-14 14:54:34 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-04-14 14:55:01 +0200 |
| commit | 97d0b9889f151449656d6b575f4f864df0f91a80 (patch) | |
| tree | 735b8c36054b5c3cd70b1a567849a1c73c92e397 /src/main.cpp | |
| parent | Merge #7849: tests: add varints_bitpatterns test (diff) | |
| parent | Use txid as key in mapAlreadyAskedFor (diff) | |
| download | discoin-97d0b9889f151449656d6b575f4f864df0f91a80.tar.xz discoin-97d0b9889f151449656d6b575f4f864df0f91a80.zip | |
Merge #7862: Use txid as key in mapAlreadyAskedFor
7e91f63 Use txid as key in mapAlreadyAskedFor (Suhas Daftuar)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9b164c799..fff1cc346 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4955,7 +4955,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv, CValidationState state; pfrom->setAskFor.erase(inv.hash); - mapAlreadyAskedFor.erase(inv); + mapAlreadyAskedFor.erase(inv.hash); CFeeRate txFeeRate = CFeeRate(0); if (!AlreadyHave(inv) && AcceptToMemoryPool(mempool, state, tx, true, &fMissingInputs, &txFeeRate)) { |