diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2022-12-05 14:55:32 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2022-12-07 17:56:49 +0100 |
commit | fa0153e609caf61a59efb0779e754861edc1684d (patch) | |
tree | b005cbaf6e40a36f034fc5c713e540ebaf486833 /test | |
parent | fa2cc5d1d66aa00e828d1bb65b9923f76fbdf4e1 (diff) | |
download | bitcoin-fa0153e609caf61a59efb0779e754861edc1684d.tar.xz |
refactor: Replace isTrue with get_bool
This makes the code more robust, see previous commit.
In general replacing isTrue with get_bool is not equivalent because
get_bool can throw exceptions, but in this case, exceptions won't happen
because of RPCTypeCheck() and isNull() checks in the preceding code.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions