aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorpaybee <dev@payb.ee>2014-05-29 17:53:49 +0200
committerpaybee <dev@payb.ee>2014-05-29 17:53:49 +0200
commit0e5223321258d8fa6bbb7190ecb2b230a801aac2 (patch)
treeacbd51dac3256b47bab6c1b98d21a3434b7158b7 /src/rpc/core_rpc_server.cpp
parentAdded incoming_transfers RPC API method (diff)
parentMerge branch '0.8.8update' (diff)
downloadmonero-0e5223321258d8fa6bbb7190ecb2b230a801aac2.tar.xz
Merge remote-tracking branch 'upstream/master'
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 2c4e82085..8779f73d8 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -395,7 +395,7 @@ namespace cryptonote
return false;
}
res.blocktemplate_blob = string_tools::buff_to_hex_nodelimer(block_blob);
-
+ res.status = CORE_RPC_STATUS_OK;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------
@@ -423,7 +423,7 @@ namespace cryptonote
error_resp.message = "Block not accepted";
return false;
}
- res.status = "OK";
+ res.status = CORE_RPC_STATUS_OK;
return true;
}
//------------------------------------------------------------------------------------------------------------------------------