Skip to content

Commit

Permalink
log improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 14, 2023
1 parent 3615c22 commit e4f0f2e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/contracts/masa-contracts.ts
Expand Up @@ -145,7 +145,13 @@ export class MasaContracts {
authorityAddress: string
) => {
if (this.masaConfig.verbose) {
console.log({ domain, types: JSON.stringify(types, null, 2), value });
console.log({
domain,
types: JSON.stringify(types),
value,
signature,
authorityAddress,
});
}

const recoveredAddress = verifyTypedData(domain, types, value, signature);
Expand Down Expand Up @@ -243,10 +249,6 @@ export class MasaContracts {
value
);

if (this.masaConfig.verbose) {
console.log({ domain, value });
}

await this.tools.verify(
"Signing SBT failed!",
domain,
Expand Down

0 comments on commit e4f0f2e

Please sign in to comment.