diff options
| author | Tomo Ueda <[email protected]> | 2021-09-02 12:55:18 -0700 |
|---|---|---|
| committer | Tomo Ueda <[email protected]> | 2021-09-02 12:55:18 -0700 |
| commit | e64843ced509c24f783276d4cc0f2f26c9d527f2 (patch) | |
| tree | 7956d4ea416c5b3a531dbc6f356e1c9a643d9690 /src/wallet/rpcdump.cpp | |
| parent | really s/doge/dis/g this time (diff) | |
| download | archived-discoin-e64843ced509c24f783276d4cc0f2f26c9d527f2.tar.xz archived-discoin-e64843ced509c24f783276d4cc0f2f26c9d527f2.zip | |
really s/Doge/Dis/g this time
Diffstat (limited to 'src/wallet/rpcdump.cpp')
| -rw-r--r-- | src/wallet/rpcdump.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 9aad314ab..67316c745 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -243,7 +243,7 @@ UniValue importaddress(const JSONRPCRequest& request) std::vector<unsigned char> data(ParseHex(request.params[0].get_str())); ImportScript(CScript(data.begin(), data.end()), strLabel, fP2SH); } else { - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Dogecoin address or script"); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Discoin address or script"); } if (fRescan) @@ -538,7 +538,7 @@ UniValue dumpprivkey(const JSONRPCRequest& request) string strAddress = request.params[0].get_str(); CBitcoinAddress address; if (!address.SetString(strAddress)) - throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Dogecoin address"); + throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid Discoin address"); CKeyID keyID; if (!address.GetKeyID(keyID)) throw JSONRPCError(RPC_TYPE_ERROR, "Address does not refer to a key"); @@ -590,7 +590,7 @@ UniValue dumpwallet(const JSONRPCRequest& request) std::sort(vKeyBirth.begin(), vKeyBirth.end()); // produce output - file << strprintf("# Wallet dump created by Dogecoin %s\n", CLIENT_BUILD); + file << strprintf("# Wallet dump created by Discoin %s\n", CLIENT_BUILD); file << strprintf("# * Created on %s\n", EncodeDumpTime(GetTime())); file << strprintf("# * Best block at time of backup was %i (%s),\n", chainActive.Height(), chainActive.Tip()->GetBlockHash().ToString()); file << strprintf("# mined on %s\n", EncodeDumpTime(chainActive.Tip()->GetBlockTime())); |