Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Sep 15, 2023
1 parent 09430a4 commit 61a82ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/identity/identity-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ export interface IIdentityWallet {
*
* updates latest identity state in storage with given state or latest from the trees.
*
* @param {string} issuerDID - identifier of the verifier
* @param {DID} issuerDID - identifier of the issuer
* @param {boolean} published - if states is published onchain
* @param {string} treeState - contains state to upgrade
* @returns `{Promise<Profile>}`
* @param {TreeState} treeState - contains state to upgrade
* @returns `{Promise<void>}`
*/
updateIdentityState(issuerDID: DID, published:boolean, treeState?: TreeState): Promise<void>;

Expand Down
2 changes: 1 addition & 1 deletion src/proof/proof-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export class ProofService implements IProofService {

const txId = await stateStorage.publishState(proof, ethSigner);

this._identityWallet.updateIdentityState(did, true, newTreeState);
await this._identityWallet.updateIdentityState(did, true, newTreeState);

return txId;
}
Expand Down

0 comments on commit 61a82ce

Please sign in to comment.