diff options
author | Pavel Janík <Pavel@Janik.cz> | 2016-10-20 12:31:05 +0200 |
---|---|---|
committer | Pavel Janík <Pavel@Janik.cz> | 2016-10-20 12:31:05 +0200 |
commit | ff6639b0f5484b392546752477d3de8c9e66dae4 (patch) | |
tree | 1acbdba6124a14afa27b8862b46e4701c2b0d88d /src/wallet | |
parent | f2d705629b510e2a5b25c8ecac1898fed13a16a2 (diff) |
Do not shadow local variable
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/rpcdump.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 7b16b4adfb..a3dd8b69b6 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -798,8 +798,8 @@ UniValue processImport(const UniValue& data) { throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Pubkey must be a hex string"); } - std::vector<unsigned char> data(ParseHex(strPubKey)); - CPubKey pubKey(data.begin(), data.end()); + std::vector<unsigned char> vData(ParseHex(strPubKey)); + CPubKey pubKey(vData.begin(), vData.end()); if (!pubKey.IsFullyValid()) { throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Pubkey is not a valid public key"); |