aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-04-08 09:40:44 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-04-08 09:41:14 +0200
commit91cba1aaed4063bdd5d5ab3ce313a4a8bba7280c (patch)
tree5eebaa135de984bc08b7ca3e0ed5801e68ed91ae /src/main.cpp
parenta0bfc69541a08e34574ba5ebe48bafb8361ba796 (diff)
parentf14e687feb554e64bf38715c001da0c0954be694 (diff)
downloadbitcoin-91cba1aaed4063bdd5d5ab3ce313a4a8bba7280c.tar.xz
Merge pull request #5969
f14e687 Chainparams: Decouple CAlert from CChainParams (Jorge Timón)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7da190bdf0..8fb6766301 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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);