gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix old API, crypto impl now


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix old API, crypto impl now used objects
Date: Wed, 06 Apr 2022 17:09:00 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new bb56d614 fix old API, crypto impl now used objects
bb56d614 is described below

commit bb56d61424c5e02feaec487b1c437e52a9f1e23c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Apr 6 12:08:49 2022 -0300

    fix old API, crypto impl now used objects
---
 packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts 
b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
index 4c75de12..29762f59 100644
--- a/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
+++ b/packages/taler-wallet-core/src/crypto/workers/synchronousWorkerWeb.ts
@@ -69,7 +69,7 @@ export class SynchronousCryptoWorker {
   private async handleRequest(
     operation: string,
     id: number,
-    args: string[],
+    req: unknown,
   ): Promise<void> {
     const impl = this.cryptoImplR;
 
@@ -80,7 +80,7 @@ export class SynchronousCryptoWorker {
 
     let result: any;
     try {
-      result = await (impl as any)[operation](...args);
+      result = await (impl as any)[operation](impl, req);
     } catch (e: any) {
       logger.error(`error during operation '${operation}': ${e}`);
       return;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]