removed the type check when accessing h_age_com
This commit is contained in:
parent
fd60edf475
commit
84634a4ab4
@ -1048,7 +1048,7 @@ export const nativeCryptoR: TalerCryptoInterfaceR = {
|
|||||||
s.minimum_age_sig = minimumAgeSig;
|
s.minimum_age_sig = minimumAgeSig;
|
||||||
s.age_commitment = depositInfo.ageCommitmentProof?.commitment.publicKeys;
|
s.age_commitment = depositInfo.ageCommitmentProof?.commitment.publicKeys;
|
||||||
} else if (depositInfo.ageCommitmentProof) {
|
} else if (depositInfo.ageCommitmentProof) {
|
||||||
s.h_age_commitment = hAgeCommitment;
|
(s as any).h_age_commitment = hAgeCommitment;
|
||||||
}
|
}
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
|
Loading…
Reference in New Issue
Block a user