Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <[email protected]>
  • Loading branch information
Patrik-Stas committed Nov 13, 2023
1 parent 6fe2b67 commit 571fc15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub async fn did_doc_from_did(
did: Did,
) -> Result<(DidDocumentSov, ServiceSov), AriesVcxError> {
let service = resolve_service(ledger, &OobService::Did(did.id().to_string())).await?;
let did_url: DidUrl = format!("{}#vm-0", did.to_string()).try_into()?;
let did_url: DidUrl = format!("{}#vm-0", did).try_into()?;
let vm = VerificationMethod::builder(
did_url,
did.clone(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl DidExchangeRequester<RequestSent> {
) -> Result<TransitionResult<Self, Request>, AriesVcxError> {
let (their_did_document, service) = did_doc_from_did(ledger, their_did.clone()).await?;
let (our_did_document, _) = did_doc_from_did(ledger, our_did.clone()).await?;
let invitation_id = format!("{}#{}", their_did, service.id().to_string());
let invitation_id = format!("{}#{}", their_did, service.id());

let request = construct_request(invitation_id.clone(), our_did.to_string());

Expand Down

0 comments on commit 571fc15

Please sign in to comment.