diff options
author | Neozaru <neozaru@mailoo.org> | 2014-06-01 18:21:30 +0200 |
---|---|---|
committer | Neozaru <neozaru@mailoo.org> | 2014-06-01 18:21:30 +0200 |
commit | 8530629e22d88de4c2fd4d7d231b00c65d30100d (patch) | |
tree | 0890c9ee74331cd1f27093833718d3cf7eb20d26 /src/rpc/core_rpc_server.cpp | |
parent | simplewallet returns 0 when no error (diff) | |
parent | Merge branch '0.8.8update' (diff) | |
download | monero-8530629e22d88de4c2fd4d7d231b00c65d30100d.tar.xz |
Merge bitmonero@monero-project
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r-- | src/rpc/core_rpc_server.cpp | 4 |
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; } //------------------------------------------------------------------------------------------------------------------------------ |