diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-08-30 05:58:25 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-08-30 05:58:33 +0200 |
| commit | ce223e7b7d7cbdee5fe3bd164e305a9f22183251 (patch) | |
| tree | 7923be17d25dbede2a6279ab27c6833efde95f08 /src/rpcdump.cpp | |
| parent | Merge pull request #4781 (diff) | |
| parent | Replace weird characters by normal spaces (diff) | |
| download | discoin-ce223e7b7d7cbdee5fe3bd164e305a9f22183251.tar.xz discoin-ce223e7b7d7cbdee5fe3bd164e305a9f22183251.zip | |
Merge pull request #4789
bac5586 Replace weird characters by normal spaces (Pieter Wuille)
Diffstat (limited to 'src/rpcdump.cpp')
| -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 e68ddee04..c286626fd 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) { |