We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae1ca5c commit f78a3a9Copy full SHA for f78a3a9
src/elements.c
@@ -435,7 +435,7 @@ int wally_confidential_addr_from_addr(
435
436
/* Decode the passed address */
437
ret = wally_base58_to_bytes(address, BASE58_FLAG_CHECKSUM,
438
- addr_bytes_p, 1 + HASH160_LEN + EC_PUBLIC_KEY_LEN, &written);
+ addr_bytes_p, 1 + HASH160_LEN + BASE58_CHECKSUM_LEN, &written);
439
if (ret == WALLY_OK) {
440
if (written != HASH160_LEN + 1)
441
ret = WALLY_EINVAL;
0 commit comments