aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-08-18 11:30:16 -0300
committerSebastian <sebasjm@gmail.com>2022-08-18 11:30:16 -0300
commitf5441a682d7e70c4b53820aa5b7cd62fd4e0ef54 (patch)
treed4bf566192cb609f5b440e7e9343b396b147fb8c
parent16777ba20564d8b002e33a01afa3ea49ca715cce (diff)
fix: for bitcoin withdrawal the exchange payto:// is not enough and the withdrawal payto should always have the reserve pub
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
index ae4ce6999..ec499420f 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -169,7 +169,7 @@ export async function getTransactions(
type: WithdrawalType.ManualTransfer,
reservePub: wsr.reservePub,
exchangePaytoUris:
- exchangeDetails.wireInfo?.accounts.map((x) => x.payto_uri) ??
+ exchangeDetails.wireInfo?.accounts.map((x) => `${x.payto_uri}?subject=${wsr.reservePub}`) ??
[],
};
}