Comment out "Final Alert" until a properly encoded value is entered
This commit is contained in:
parent
ee436c4425
commit
791b2745e2
@ -1384,10 +1384,10 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
|
||||
AddTimeData(pfrom->addr, nTimeOffset);
|
||||
|
||||
// If the peer is old enough to have the old alert system, send it the final alert.
|
||||
if (pfrom->nVersion <= 70012) {
|
||||
CDataStream finalAlert(ParseHex("5c0100000015f7675900000000ffffff7f00000000ffffff7ffeffff7f0000000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220405f7e7572b176f3316d4e12deab75ad4ff978844f7a7bcd5ed06f6aa094eb6602207880fcc07d0a78e0f46f188d115e04ed4ad48980ea3572cb0e0cb97921048095"), SER_NETWORK, PROTOCOL_VERSION);
|
||||
connman.PushMessage(pfrom, CNetMsgMaker(nSendVersion).Make("alert", finalAlert));
|
||||
}
|
||||
// if (pfrom->nVersion <= 70012) {
|
||||
// CDataStream finalAlert(ParseHex("5c0100000015f7675900000000ffffff7f00000000ffffff7ffeffff7f0000000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220405f7e7572b176f3316d4e12deab75ad4ff978844f7a7bcd5ed06f6aa094eb6602207880fcc07d0a78e0f46f188d115e04ed4ad48980ea3572cb0e0cb97921048095"), SER_NETWORK, PROTOCOL_VERSION);
|
||||
// connman.PushMessage(pfrom, CNetMsgMaker(nSendVersion).Make("alert", finalAlert));
|
||||
// }
|
||||
|
||||
// Feeler connections exist only to verify if address is online.
|
||||
if (pfrom->fFeeler) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user