Skip to content

Commit

Permalink
fix: Add more fixes per PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
richtera committed Nov 6, 2023
1 parent 1a96be1 commit e7302e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const encodeDataSourceWithHash = (
const verificationMethod = getVerificationMethod(verification.method);
return (
keccak256(verificationMethod.name).slice(0, 10) +
verification.data.slice(2) +
stripHexPrefix(verification.data) +
utf8ToHex(dataSource).slice(2)
);
};
Expand Down

0 comments on commit e7302e4

Please sign in to comment.