mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Chainparams: Decouple CAlert from CChainParams
This commit is contained in:
parent
2dc679d22f
commit
f14e687feb
4 changed files with 12 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue