mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-27 07:55:39 +01:00
bugfix: Strict type checking for RPC boolean parameters
This commit is contained in:
8
doc/release-notes-26213.md
Normal file
8
doc/release-notes-26213.md
Normal file
@@ -0,0 +1,8 @@
|
||||
Low-level changes
|
||||
=================
|
||||
|
||||
- Previously `setban`, `addpeeraddress`, `walletcreatefundedpsbt`, methods
|
||||
allowed non-boolean and non-null values to be passed as boolean parameters.
|
||||
Any string, number, array, or object value that was passed would be treated
|
||||
as false. After this change, passing any value except `true`, `false`, or
|
||||
`null` now triggers a JSON value is not of expected type error. (#26213)
|
||||
Reference in New Issue
Block a user