File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ export class IdentityClient {
4848 certificate : WalletCertificate ,
4949 fieldsToReveal : CertificateFieldNameUnder50Bytes [ ]
5050 ) : Promise < BroadcastResponse | BroadcastFailure > {
51+ debugger
5152 if ( Object . keys ( certificate . fields ) . length === 0 ) {
5253 throw new Error ( 'Public reveal failed: Certificate has no fields to reveal!' )
5354 }
@@ -75,10 +76,10 @@ export class IdentityClient {
7576 certificate,
7677 fieldsToReveal,
7778 verifier : new PrivateKey ( 1 ) . toPublicKey ( ) . toString ( )
78- } )
79+ } , this . originator )
7980
8081 // Build the lockingScript with pushdrop.create() and the transaction with createAction()
81- const lockingScript = await new PushDrop ( this . wallet ) . lock (
82+ const lockingScript = await new PushDrop ( this . wallet , this . originator ) . lock (
8283 [ Utils . toArray ( JSON . stringify ( { ...certificate , keyring : keyringForVerifier } ) ) ] ,
8384 this . options . protocolID ,
8485 this . options . keyID ,
@@ -122,6 +123,7 @@ export class IdentityClient {
122123 args : DiscoverByIdentityKeyArgs ,
123124 overrideWithContacts = true
124125 ) : Promise < DisplayableIdentity [ ] > {
126+ debugger
125127 if ( overrideWithContacts ) {
126128 // Override results with personal contacts if available
127129 const contacts = await this . contactsManager . getContacts ( args . identityKey )
You can’t perform that action at this time.
0 commit comments