mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
Add masternodes to address database
This commit is contained in:
parent
0b86a4da56
commit
e025fe7934
@ -4183,6 +4183,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addrman.Add(CAddress(addr), pfrom->addr, 2*60*60);
|
||||||
|
|
||||||
CMasterNode mn(addr, vin, pubkey, vchSig, sigTime, pubkey2);
|
CMasterNode mn(addr, vin, pubkey, vchSig, sigTime, pubkey2);
|
||||||
mn.UpdateLastSeen(lastUpdated);
|
mn.UpdateLastSeen(lastUpdated);
|
||||||
|
Loading…
Reference in New Issue
Block a user