File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
Updated RPCs
2
2
------------
3
3
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.
You can’t perform that action at this time.
0 commit comments