aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc.cpp b/rpc.cpp
index 9f28e7ec74..b176b1580c 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -503,7 +503,7 @@ Value CallRPC(const string& strMethod, const Array& params)
// Connect to localhost
tcp::iostream stream("127.0.0.1", "8332");
if (stream.fail())
- throw runtime_error("unable to connect to server");
+ throw runtime_error("couldn't connect to server");
// Send request
string strRequest = JSONRPCRequest(strMethod, params, 1);