[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: add missing allowedExchanges
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: add missing allowedExchanges for calculating getFeeForDeposit |
Date: |
Tue, 03 May 2022 05:34:44 +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 b4e219f7 add missing allowedExchanges for calculating getFeeForDeposit
b4e219f7 is described below
commit b4e219f7ff99f62d563b106c1add4c5744680b1c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue May 3 00:34:37 2022 -0300
add missing allowedExchanges for calculating getFeeForDeposit
---
packages/taler-wallet-core/src/operations/deposits.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts
b/packages/taler-wallet-core/src/operations/deposits.ts
index 15c0e311..2f5f9aa1 100644
--- a/packages/taler-wallet-core/src/operations/deposits.ts
+++ b/packages/taler-wallet-core/src/operations/deposits.ts
@@ -337,7 +337,10 @@ export async function getFeeForDeposit(
const csr: CoinSelectionRequest = {
allowedAuditors: [],
- allowedExchanges: [],
+ allowedExchanges: Object.values(exchangeInfos).map(v => ({
+ exchangeBaseUrl: v.url,
+ exchangePub: v.master_pub
+ })),
amount: Amounts.parseOrThrow(req.amount),
maxDepositFee: Amounts.parseOrThrow(req.amount),
maxWireFee: Amounts.parseOrThrow(req.amount),
--
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: add missing allowedExchanges for calculating getFeeForDeposit,
gnunet <=