aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorNeozaru <neozaru@mailoo.org>2014-06-01 18:21:30 +0200
committerNeozaru <neozaru@mailoo.org>2014-06-01 18:21:30 +0200
commit8530629e22d88de4c2fd4d7d231b00c65d30100d (patch)
tree0890c9ee74331cd1f27093833718d3cf7eb20d26 /src/rpc/core_rpc_server.cpp
parentsimplewallet returns 0 when no error (diff)
parentMerge branch '0.8.8update' (diff)
downloadmonero-8530629e22d88de4c2fd4d7d231b00c65d30100d.tar.xz
Merge bitmonero@monero-project
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index e4208b0bb..a724246f1 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -413,7 +413,7 @@ namespace cryptonote
return false;
}
res.blocktemplate_blob = string_tools::buff_to_hex_nodelimer(block_blob);
-
+ res.status = CORE_RPC_STATUS_OK;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------
@@ -441,7 +441,7 @@ namespace cryptonote
error_resp.message = "Block not accepted";
return false;
}
- res.status = "OK";
+ res.status = CORE_RPC_STATUS_OK;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------