mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-03 09:56:38 -05:00
Update release note for bech32 error detection
This commit is contained in:
parent
c8b9a224e7
commit
63f7b69779
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,10 @@
|
||||||
Updated RPCs
|
Updated RPCs
|
||||||
------------
|
------------
|
||||||
|
|
||||||
- The `validateaddress` RPC now optionally returns an `error_locations` array, with the indices of
|
- The `validateaddress` RPC now returns an `error_locations` array for invalid
|
||||||
invalid characters in the address. For example, this will return the locations of up to two Bech32
|
addresses, with the indices of invalid character locations in the address (if
|
||||||
errors.
|
known). For example, this will attempt to locate up to two Bech32 errors, and
|
||||||
|
return their locations if successful. Success and correctness are only guaranteed
|
||||||
|
if fewer than two substitution errors have been made.
|
||||||
|
The error message returned in the `error` field now also returns more specific
|
||||||
|
errors when decoding fails.
|
Loading…
Add table
Reference in a new issue