Skip to content

Commit 42d0770

Browse files
authored
DDO: Refactoring, support additional format of public_key.id value (#528)
* Refactoring/renaming related to DDOs, move some functions Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Split ddo function set_keys in two Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Move DDO implementation to its own module Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Move ServiceResolvable to handlers module Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Move test_did_doc_from_invitation_works Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Refactor ddo implementation Signed-off-by: Patrik Stas <patrik.stas@absa.africa> * Reformat, move file service_resolvable.rs Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
1 parent 5901e1f commit 42d0770

File tree

34 files changed

+793
-642
lines changed

34 files changed

+793
-642
lines changed

agency_client/src/utils/validation.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ pub fn validate_did(did: &str) -> AgencyClientResult<String> {
3434
}
3535

3636
pub fn validate_verkey(verkey: &str) -> AgencyClientResult<String> {
37-
trace!("validate_verkey >>> verkey: {}", verkey);
3837
let check_verkey = String::from(verkey);
3938
match check_verkey.from_base58() {
4039
Ok(ref x) if x.len() == 32 => Ok(check_verkey),

0 commit comments

Comments
 (0)