diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-30 02:35:05 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-08-30 02:35:05 +0200 |
commit | bac5586b103bf3783805675948df255ed7dbe8e7 (patch) | |
tree | 9a5d65da74c328e1e3cc1a278eac7d053f588657 | |
parent | d2d6f708e486caff1b53b6e75a577db794514604 (diff) |
Replace weird characters by normal spaces
-rw-r--r-- | src/rpcdump.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcdump.cpp b/src/rpcdump.cpp index e68ddee040..c286626fd3 100644 --- a/src/rpcdump.cpp +++ b/src/rpcdump.cpp @@ -165,14 +165,14 @@ Value importaddress(const Array& params, bool fHelp) std::vector<unsigned char> data(ParseHex(params[0].get_str())); script = CScript(data.begin(), data.end()); } else { - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Bitcoin address or script"); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Bitcoin address or script"); } string strLabel = ""; if (params.size() > 1) strLabel = params[1].get_str(); - // Whether to perform rescan after import + // Whether to perform rescan after import bool fRescan = true; if (params.size() > 2) fRescan = params[2].get_bool(); @@ -191,7 +191,7 @@ Value importaddress(const Array& params, bool fHelp) pwalletMain->MarkDirty(); if (!pwalletMain->AddWatchOnly(script)) - throw JSONRPCError(RPC_WALLET_ERROR, "Error adding address to wallet"); + throw JSONRPCError(RPC_WALLET_ERROR, "Error adding address to wallet"); if (fRescan) { |