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 compiler error


From: gnunet
Subject: [taler-wallet-core] branch master updated: -fix compiler error
Date: Fri, 16 Sep 2022 17:41:19 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 117baf0e5 -fix compiler error
117baf0e5 is described below

commit 117baf0e5b30c1848a83f31083a9b0f5c117c90a
Author: Florian Dold <florian@dold.me>
AuthorDate: Fri Sep 16 17:41:13 2022 +0200

    -fix compiler error
---
 packages/taler-wallet-core/src/wallet.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/taler-wallet-core/src/wallet.ts 
b/packages/taler-wallet-core/src/wallet.ts
index c993155d8..578237eb8 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -1462,7 +1462,7 @@ export async function handleCoreApiRequest(
  */
 export class Wallet {
   private ws: InternalWalletState;
-  private _client: WalletCoreApiClient;
+  private _client: WalletCoreApiClient | undefined;
 
   private constructor(
     db: DbAccess<typeof WalletStoresV1>,
@@ -1474,6 +1474,9 @@ export class Wallet {
   }
 
   get client(): WalletCoreApiClient {
+    if (!this._client) {
+      throw Error();
+    }
     return this._client;
   }
 

-- 
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]