Skip to content

Commit

Permalink
fix: delete some logs that where too much
Browse files Browse the repository at this point in the history
  • Loading branch information
kilted-andres committed Mar 19, 2024
1 parent d021904 commit 887b558
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/backend/revoker/scanAttestations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ function parseParams(event: ParsedEvent) {
}

function getDidUriFromAccountHex(didAccount: HexString) {
logger.debug('DID as HexString of Account Address: ' + didAccount);
// SubScan returns some AttesterOf values as hex without the "0x" prefix
// so we first parsed to a Uint8Array via `hexToU8a`, which can handle HexStrings with or without the prefix.
const didU8a = hexToU8a(didAccount);

const didUri = Did.fromChain(didU8a as AccountId32);
logger.debug('Corresponding DID-URI: ' + didUri);
return didUri;
}

Expand Down

0 comments on commit 887b558

Please sign in to comment.