Skip to content

Commit

Permalink
feat: code changes to create DidDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-vavdiya committed May 31, 2023
1 parent 32d9587 commit b7503a8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
import org.springframework.transaction.annotation.Transactional;

import java.io.StringWriter;
import java.net.URI;
import java.net.URLDecoder;
import java.nio.charset.Charset;
import java.security.SecureRandom;
Expand Down Expand Up @@ -215,7 +214,7 @@ public Wallet createWallet(CreateWalletRequest request) {
Ed25519VerificationKey2020Builder builder = new Ed25519VerificationKey2020Builder();
Ed25519VerificationKey2020 key =
builder
.id(URI.create(did.toUri() + "#key-" + 1))
.id(did.toUri())
.controller(did.toUri())
.publicKeyMultiBase(publicKeyBase)
.build();
Expand Down

0 comments on commit b7503a8

Please sign in to comment.