Skip to content

Commit 63f7b69

Browse files
committed
Update release note for bech32 error detection
1 parent c8b9a22 commit 63f7b69

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/release-notes-16807.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Updated RPCs
22
------------
33

4-
- The `validateaddress` RPC now optionally returns an `error_locations` array, with the indices of
5-
invalid characters in the address. For example, this will return the locations of up to two Bech32
6-
errors.
4+
- The `validateaddress` RPC now returns an `error_locations` array for invalid
5+
addresses, with the indices of invalid character locations in the address (if
6+
known). For example, this will attempt to locate up to two Bech32 errors, and
7+
return their locations if successful. Success and correctness are only guaranteed
8+
if fewer than two substitution errors have been made.
9+
The error message returned in the `error` field now also returns more specific
10+
errors when decoding fails.

0 commit comments

Comments
 (0)