Merge #14417: Fix listreceivedbyaddress not taking address as a string
Summary:
d4d70eda33 Fix listreceivedbyaddress not taking address as a string (Eric Scrivner)
Pull request description:
Fixes #14173. Add the patch in #14173 and include a regression test.
Tree-SHA512: 5a9794e0c43e90d18c899841afbaf15eb9129d7d2f6570fccf0a1793697fe170d224c3c3995b1a35c536fac19819042823d9e3bd23b019d0f03434499243d2f5
Backport of Core PR14417
Test Plan:
ninja ninja check ninja check-functional
Verify the changes to wallet_listreceivedby causes it to fail on master if the changes to rpc/client.cpp from this patch are reverted.
Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D6232