Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update RPC method names again
  • Loading branch information
ntn-x2 committed Aug 4, 2022
commit c24a9470ee247b774cb21ed133bbf57713b302e1
4 changes: 2 additions & 2 deletions rpc/public-credentials/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub trait PublicCredentialsFilter<Credential> {
#[rpc(client, server)]
pub trait PublicCredentialsApi<BlockHash, OuterSubjectId, OuterCredentialId, OuterCredentialEntry, CredentialFilter> {
/// Return a credential that matches the provided credential ID, if found.
#[method(name = "credentials_get_credential")]
#[method(name = "credentials_getCredential")]
fn get_credential(
&self,
credential_id: OuterCredentialId,
Expand All @@ -50,7 +50,7 @@ pub trait PublicCredentialsApi<BlockHash, OuterSubjectId, OuterCredentialId, Out
/// Return all the credentials issued to the provided subject, optionally
/// filtering with the provided logic. The result is a vector of (credential
/// identifier, credential entry).
#[method(name = "credentials_get_credentials")]
#[method(name = "credentials_getCredentials")]
fn get_credentials(
&self,
subject: OuterSubjectId,
Expand Down