mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge pull request #5151
eec3713 make CMessageHeader a dumb storage class (Cory Fields)
This commit is contained in:
commit
2f10aa0fa1
6 changed files with 17 additions and 18 deletions
|
|
@ -4305,7 +4305,7 @@ bool ProcessMessages(CNode* pfrom)
|
|||
|
||||
// Read header
|
||||
CMessageHeader& hdr = msg.hdr;
|
||||
if (!hdr.IsValid())
|
||||
if (!hdr.IsValid(Params().MessageStart()))
|
||||
{
|
||||
LogPrintf("PROCESSMESSAGE: ERRORS IN HEADER %s peer=%d\n", SanitizeString(hdr.GetCommand()), pfrom->id);
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue