Browse Source

bitcoin.c edited online with Bitbucket

master
li xin 10 years ago
parent
commit
5021a3d40f
  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