diff options
author | Harris <brakmic@gmail.com> | 2019-11-24 22:53:42 +0100 |
---|---|---|
committer | Harris <brakmic@gmail.com> | 2019-11-24 22:53:42 +0100 |
commit | 1a3a256d5e0443d19757c1f1fceb9c9ede17758a (patch) | |
tree | 963a9b2827f64f1854a36253f2f1b57e3b23cb13 /src/wallet | |
parent | 239d199667888e5d60309f15a38eed4d3afe56c4 (diff) |
wallet: replace raw pointer with const reference in AddrToPubKey
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 3563b05c71..f48e1e90fd 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -998,7 +998,7 @@ static UniValue addmultisigaddress(const JSONRPCRequest& request) if (IsHex(keys_or_addrs[i].get_str()) && (keys_or_addrs[i].get_str().length() == 66 || keys_or_addrs[i].get_str().length() == 130)) { pubkeys.push_back(HexToPubKey(keys_or_addrs[i].get_str())); } else { - pubkeys.push_back(AddrToPubKey(&spk_man, keys_or_addrs[i].get_str())); + pubkeys.push_back(AddrToPubKey(spk_man, keys_or_addrs[i].get_str())); } } |