Rename get_storage_mining_entry_height to get_storage_entry_height for consistency

This commit is contained in:
Michael Vines
2019-03-02 09:56:06 -08:00
committed by Greg Fitzgerald
parent 81cd461591
commit 642d3d903f
3 changed files with 8 additions and 8 deletions

View File

@@ -138,7 +138,7 @@ pub enum RpcRequest {
SignVote,
DeregisterNode,
GetStorageBlockHash,
GetStorageMiningEntryHeight,
GetStorageEntryHeight,
GetStoragePubkeysForEntryHeight,
}
@@ -158,7 +158,7 @@ impl RpcRequest {
RpcRequest::SignVote => "signVote",
RpcRequest::DeregisterNode => "deregisterNode",
RpcRequest::GetStorageBlockHash => "getStorageBlockHash",
RpcRequest::GetStorageMiningEntryHeight => "getStorageMiningEntryHeight",
RpcRequest::GetStorageEntryHeight => "getStorageEntryHeight",
RpcRequest::GetStoragePubkeysForEntryHeight => "getStoragePubkeysForEntryHeight",
};
let mut request = json!({