aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-07-21 10:32:30 -0300
committerSebastian <sebasjm@gmail.com>2022-07-21 10:32:30 -0300
commit84634a4ab4a61174f1d2e76b26d189bf92902c48 (patch)
tree252dac5469b4af87d86a44a05372aae6cd755a4b /packages
parentfd60edf475fad69e32fb13a76e56d99a79604bb6 (diff)
removed the type check when accessing h_age_com
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/crypto/cryptoImplementation.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/crypto/cryptoImplementation.ts b/packages/taler-wallet-core/src/crypto/cryptoImplementation.ts
index 968abbfd9..edb9cdccb 100644
--- a/packages/taler-wallet-core/src/crypto/cryptoImplementation.ts
+++ b/packages/taler-wallet-core/src/crypto/cryptoImplementation.ts
@@ -1048,7 +1048,7 @@ export const nativeCryptoR: TalerCryptoInterfaceR = {
s.minimum_age_sig = minimumAgeSig;
s.age_commitment = depositInfo.ageCommitmentProof?.commitment.publicKeys;
} else if (depositInfo.ageCommitmentProof) {
- s.h_age_commitment = hAgeCommitment;
+ (s as any).h_age_commitment = hAgeCommitment;
}
return s;