Merged in ticaleen/bitcoinc-edited-online-with-bitbucket-1411800219113 (pull request #1)

bitcoin.c edited online with Bitbucket
This commit is contained in:
li xin 2014-09-27 14:44:12 +08:00
commit 28a42cd1ef

View File

@ -31,7 +31,7 @@ bool validate_address(connsock_t *cs, const char *address)
return ret;
}
len = strlen(address);
if (len < 27 || len > 34) {
if (len < 27 || len > 36) {
LOGWARNING("Invalid address length %d passed to validate_address", len);
return ret;
}