diff --git a/qa/rpc-tests/fundrawtransaction.py b/qa/rpc-tests/fundrawtransaction.py index b954c2ca9..7240c49cf 100755 --- a/qa/rpc-tests/fundrawtransaction.py +++ b/qa/rpc-tests/fundrawtransaction.py @@ -222,9 +222,9 @@ class RawTransactionsTest(BitcoinTestFramework): try: self.nodes[2].fundrawtransaction(rawtx, {'changeAddress': 'foobar'}) - raise AssertionError("Accepted invalid bitcoin address") + raise AssertionError("Accepted invalid dash address") except JSONRPCException,e: - assert("changeAddress must be a valid bitcoin address" in e.error['message']) + assert("changeAddress must be a valid dash address" in e.error['message']) diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 957dad47d..c3c4b44dd 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2713,7 +2713,7 @@ UniValue fundrawtransaction(const UniValue& params, bool fHelp) CBitcoinAddress address(options["changeAddress"].get_str()); if (!address.IsValid()) - throw JSONRPCError(RPC_INVALID_PARAMETER, "changeAddress must be a valid bitcoin address"); + throw JSONRPCError(RPC_INVALID_PARAMETER, "changeAddress must be a valid dash address"); changeAddress = address.Get(); }