aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.h
diff options
context:
space:
mode:
authorstickies-v <stickies-v@protonmail.com>2024-04-10 12:16:21 +0200
committerstickies-v <stickies-v@protonmail.com>2024-05-01 14:44:57 +0100
commit42fb5311b19582361409d65c6fddeadbee14bb97 (patch)
tree30d0e390d19a61f84583546126273298fdd50fc5 /src/txorphanage.h
parent842f7fdf786fcbbdf3df40522945813404f8a397 (diff)
rpc: return warnings as an array instead of just a single one
The RPC documentation for `getblockchaininfo`, `getmininginfo` and `getnetworkinfo` states that "warnings" returns "any network and blockchain warnings". In practice, only a single warning is returned. Fix that by returning all warnings as an array. As a side benefit, cleans up the GetWarnings() logic.
Diffstat (limited to 'src/txorphanage.h')
0 files changed, 0 insertions, 0 deletions