[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: allow repeat 'in
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: allow repeat 'init' call to change wallet run config |
Date: |
Tue, 02 Apr 2024 19:51:32 +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 2b2a82788 wallet-core: allow repeat 'init' call to change wallet run
config
2b2a82788 is described below
commit 2b2a8278844ae53818ca9845630d28dd5efde7d0
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Apr 2 19:51:30 2024 +0200
wallet-core: allow repeat 'init' call to change wallet run config
---
packages/taler-wallet-core/src/wallet.ts | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/packages/taler-wallet-core/src/wallet.ts
b/packages/taler-wallet-core/src/wallet.ts
index 7cc5ab93b..311e91c3d 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -694,13 +694,11 @@ async function dispatchRequestInternal<Op extends
WalletApiOperation>(
logger.info(`init request: ${j2s(req)}`);
if (wex.ws.initCalled) {
- logger.warn(
- "initWallet called twice, new run configuration is ignored",
- );
- return;
+ logger.info("initializing wallet (repeat initialization)");
+ } else {
+ logger.info("initializing wallet (first initialization)");
}
- logger.trace("initializing wallet");
// Write to the DB to make sure that we're failing early in
// case the DB is not writeable.
try {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: wallet-core: allow repeat 'init' call to change wallet run config,
gnunet <=