Browse Source

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

bitcoin.c edited online with Bitbucket
master
li xin 10 years ago
parent
commit
28a42cd1ef
  1. 2
      src/bitcoin.c

2
src/bitcoin.c

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

Loading…
Cancel
Save