commit 658eddbfc4b93bd79f20c07c4c32fafbe7b26e33 parent b4acba378bf88132aeba76fbae5d422d2166f3aa Author: Florian Dold <florian@dold.me> Date: Mon, 16 Feb 2026 00:04:10 +0100 -comment Diffstat:
| M | packages/taler-wallet-core/src/deposits.ts | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts @@ -2224,6 +2224,11 @@ export async function createDepositGroup( pub: merchantPub.pub, }; } else if (coins.length > 0) { + // FIXME: This is a bad/incomplete strategy to choose this key pair, + // as we need to filter for withdrawals from an actual bank account. + // Withdrawals from p2p reserves do not count/help. + // We should also consider using the key pair from the last successful + // deposit. const res = await getLastWithdrawalKeyPair(wex, coins[0].exchangeBaseUrl); if (res) { logger.info(