diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2022-12-05 15:15:36 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2022-12-07 17:55:58 +0100 |
commit | fa2cc5d1d66aa00e828d1bb65b9923f76fbdf4e1 (patch) | |
tree | f811622bc34ee70efcfbd707b09c6743f8bf567e /doc/release-notes-26213.md | |
parent | 9052d869c9679d997931084384c026450c2d918b (diff) | |
download | bitcoin-fa2cc5d1d66aa00e828d1bb65b9923f76fbdf4e1.tar.xz |
bugfix: Strict type checking for RPC boolean parameters
Diffstat (limited to 'doc/release-notes-26213.md')
-rw-r--r-- | doc/release-notes-26213.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/release-notes-26213.md b/doc/release-notes-26213.md new file mode 100644 index 0000000000..e78d718ca9 --- /dev/null +++ b/doc/release-notes-26213.md @@ -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) |