@@ -100,12 +100,12 @@ export class EbsiDidProvider extends AbstractIdentifierProvider {
100
100
id : args . id ,
101
101
} )
102
102
103
- await this . sendTransaction ( { docTransactionResponse : insertDidDocTransaction , kid : args . secp256r1ManagedKeyInfo . kid , id : args . id } , context )
103
+ await this . sendTransaction ( { docTransactionResponse : insertDidDocTransaction , kid : args . secp256k1ManagedKeyInfo . kid , id : args . id } , context )
104
104
105
105
const addVerificationMethodTransaction = await addVerificationMethod ( {
106
106
params : [
107
107
{
108
- from : args . from , // required
108
+ from : args . from ,
109
109
did : args . identifier . did ,
110
110
isSecp256k1 : true ,
111
111
vMethoddId : await calculateJwkThumbprint ( toJwk ( args . secp256k1ManagedKeyInfo . publicKeyHex , 'Secp256k1' ) ) ,
@@ -116,7 +116,7 @@ export class EbsiDidProvider extends AbstractIdentifierProvider {
116
116
} )
117
117
118
118
await this . sendTransaction (
119
- { docTransactionResponse : addVerificationMethodTransaction , kid : args . secp256r1ManagedKeyInfo . kid , id : args . id } ,
119
+ { docTransactionResponse : addVerificationMethodTransaction , kid : args . secp256k1ManagedKeyInfo . kid , id : args . id } ,
120
120
context
121
121
)
122
122
@@ -135,7 +135,7 @@ export class EbsiDidProvider extends AbstractIdentifierProvider {
135
135
} )
136
136
137
137
await this . sendTransaction (
138
- { docTransactionResponse : addVerificationMethodRelationshipTransaction , kid : args . secp256r1ManagedKeyInfo . kid , id : args . id } ,
138
+ { docTransactionResponse : addVerificationMethodRelationshipTransaction , kid : args . secp256k1ManagedKeyInfo . kid , id : args . id } ,
139
139
context
140
140
)
141
141
}
0 commit comments