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 trust check


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix trust check
Date: Thu, 20 May 2021 13:17:06 +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 1fb18270 fix trust check
1fb18270 is described below

commit 1fb182700252675eb89bfef5c27637e8396f1258
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu May 20 13:17:04 2021 +0200

    fix trust check
---
 packages/taler-wallet-core/src/operations/reserves.ts | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/packages/taler-wallet-core/src/operations/reserves.ts 
b/packages/taler-wallet-core/src/operations/reserves.ts
index 9addca97..d8821d56 100644
--- a/packages/taler-wallet-core/src/operations/reserves.ts
+++ b/packages/taler-wallet-core/src/operations/reserves.ts
@@ -58,11 +58,7 @@ import {
   updateRetryInfoTimeout,
 } from "../util/retries.js";
 import { guardOperationException, OperationFailedError } from "./errors.js";
-import {
-  updateExchangeFromUrl,
-  getExchangeTrust,
-  getExchangePaytoUri,
-} from "./exchanges.js";
+import { updateExchangeFromUrl, getExchangePaytoUri } from "./exchanges.js";
 import { InternalWalletState } from "./state.js";
 import {
   updateWithdrawalDenoms,
@@ -72,6 +68,7 @@ import {
   processWithdrawGroup,
   getBankWithdrawalInfo,
 } from "./withdraw.js";
+import { getExchangeTrust } from "./currencies.js";
 
 const logger = new Logger("reserves.ts");
 
@@ -184,7 +181,7 @@ export async function createReserve(
           talerWithdrawUri: reserveRecord.bankInfo.statusUrl,
         });
       }
-      if (!isAudited && !isAudited) {
+      if (!isAudited && !isTrusted) {
         await tx.put(Stores.exchangeTrustStore, {
           currency: reserveRecord.currency,
           exchangeBaseUrl: reserveRecord.exchangeBaseUrl,

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