mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
doc: release note for changed {sign,verify}message error codes
This commit is contained in:
10
doc/release-notes-18466.md
Normal file
10
doc/release-notes-18466.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Low-level RPC changes
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
- Error codes have been updated to be more accurate for the following error cases (#18466):
|
||||||
|
- `signmessage` now returns RPC_INVALID_ADDRESS_OR_KEY (-5) if the
|
||||||
|
passed address is invalid. Previously returned RPC_TYPE_ERROR (-3).
|
||||||
|
- `verifymessage` now returns RPC_INVALID_ADDRESS_OR_KEY (-5) if the
|
||||||
|
passed address is invalid. Previously returned RPC_TYPE_ERROR (-3).
|
||||||
|
- `verifymessage` now returns RPC_TYPE_ERROR (-3) if the passed signature
|
||||||
|
is malformed. Previously returned RPC_INVALID_ADDRESS_OR_KEY (-5).
|
||||||
Reference in New Issue
Block a user