aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
authorHarris <brakmic@gmail.com>2019-11-24 22:53:42 +0100
committerHarris <brakmic@gmail.com>2019-11-24 22:53:42 +0100
commit1a3a256d5e0443d19757c1f1fceb9c9ede17758a (patch)
tree963a9b2827f64f1854a36253f2f1b57e3b23cb13 /src/rpc/util.h
parent239d199667888e5d60309f15a38eed4d3afe56c4 (diff)
downloadbitcoin-1a3a256d5e0443d19757c1f1fceb9c9ede17758a.tar.xz
wallet: replace raw pointer with const reference in AddrToPubKey
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r--src/rpc/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index 221638aa9e..9304e1fefb 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -69,7 +69,7 @@ extern std::string HelpExampleCli(const std::string& methodname, const std::stri
extern std::string HelpExampleRpc(const std::string& methodname, const std::string& args);
CPubKey HexToPubKey(const std::string& hex_in);
-CPubKey AddrToPubKey(FillableSigningProvider* const keystore, const std::string& addr_in);
+CPubKey AddrToPubKey(const FillableSigningProvider& keystore, const std::string& addr_in);
CTxDestination AddAndGetMultisigDestination(const int required, const std::vector<CPubKey>& pubkeys, OutputType type, FillableSigningProvider& keystore, CScript& script_out);
UniValue DescribeAddress(const CTxDestination& dest);