Merge pull request #5969

f14e687 Chainparams: Decouple CAlert from CChainParams (Jorge Timón)
This commit is contained in:
Wladimir J. van der Laan
2015-04-08 09:40:44 +02:00
4 changed files with 12 additions and 10 deletions

View File

@@ -4270,7 +4270,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
uint256 alertHash = alert.GetHash();
if (pfrom->setKnown.count(alertHash) == 0)
{
if (alert.ProcessAlert())
if (alert.ProcessAlert(Params().AlertKey()))
{
// Relay
pfrom->setKnown.insert(alertHash);