|
|
@ -1141,7 +1141,7 @@ int32_t iguana_msgparser(struct iguana_info *coin,struct iguana_peer *addr,struc |
|
|
|
if ( strcmp(H->command,"addr") != 0 && (coin->chain->auxpow == 0 || strcmp(H->command,"headers") != 0) ) |
|
|
|
printf("%s %s.%s len mismatch %d != %d\n",coin->symbol,addr!=0?addr->ipaddr:"local",H->command,len,recvlen); |
|
|
|
} |
|
|
|
else if ( len != recvlen ) |
|
|
|
else if ( len != recvlen && recvlen > 1 ) |
|
|
|
{ |
|
|
|
printf("%s extra byte.[%02x] command.%s len.%d recvlen.%d\n",addr->ipaddr,data[recvlen-1],H->command,len,recvlen); |
|
|
|
//retval = -1;
|
|
|
|