mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
fix: signature fail in gen inputs
This commit is contained in:
@@ -68,7 +68,7 @@ export function genMockPassportData_sha1WithECDSA(): PassportData {
|
||||
const concatenatedDataHashes = formatAndConcatenateDataHashes(
|
||||
[[1, mrzHash], ...sampleDataHashes],
|
||||
hashLen,
|
||||
33 // ? TODO replace with original dg1HashOffset
|
||||
33
|
||||
);
|
||||
const eContent = assembleEContent(hash(signatureAlgorithm, concatenatedDataHashes));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user