aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJorge Timón <[email protected]>2015-04-03 17:42:06 +0200
committerJorge Timón <[email protected]>2015-04-04 12:58:14 +0200
commitf14e687feb554e64bf38715c001da0c0954be694 (patch)
tree390dd0216e1b94411e36a80f94864f9d160a00fe /src/main.cpp
parentDocs: Use new Bitcoin.org download URLs (diff)
downloaddiscoin-f14e687feb554e64bf38715c001da0c0954be694.tar.xz
discoin-f14e687feb554e64bf38715c001da0c0954be694.zip
Chainparams: Decouple CAlert from CChainParams
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 011016204..bd424b182 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4262,7 +4262,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);