Page MenuHomePhabricator

Merge #10627: fixed listunspent rpc convert parameter
ClosedPublic

Authored by nakihito on Jul 8 2019, 22:05.

Details

Summary

e503b2b fixed listunspent rpc convert parameter (tnaka)

Tree-SHA512: 6da1cee8fd8459187825fad47678b36bbf6b4582f03f557c8a48c2c4273d9e12405e8bb6ade02a06e6555419eefb1dc298d4d4781ebb3b6b72743ca6108cb18e

Backport of Core PR10627
https://github.com/bitcoin/bitcoin/pull/10627

Test Plan
make check
test_runner.py
./bitcoind
./bitcoin-cli listunspent 1 9999999 "[]" true

The last line should return as expected with list_unsafe=true. Before, it would error out with:

error code: -3
error message:
Expected type bool, got string

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.