diff options
author | Florian Dold <florian@dold.me> | 2022-03-08 23:09:20 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-03-08 23:09:20 +0100 |
commit | 6ee0354940c09d1065c3b3b7bf08e41fd6014268 (patch) | |
tree | 7d127977b1517702082d0253099f25c3fa26289f /packages/taler-wallet-core/src/operations/deposits.ts | |
parent | d5a933e4cb685aab3e5e6bae5ca2358291e59130 (diff) | |
download | wallet-core-6ee0354940c09d1065c3b3b7bf08e41fd6014268.tar.xz |
wallet: improve retry handling for payments, update error codes
Diffstat (limited to 'packages/taler-wallet-core/src/operations/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/deposits.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts index 25b9cb92d..e45da7b4c 100644 --- a/packages/taler-wallet-core/src/operations/deposits.ts +++ b/packages/taler-wallet-core/src/operations/deposits.ts @@ -58,7 +58,6 @@ import { getCandidatePayCoins, getTotalPaymentCost, hashWire, - hashWireLegacy, } from "./pay.js"; import { getTotalRefreshCost } from "./refresh.js"; @@ -443,7 +442,6 @@ export async function createDepositGroup( const merchantPair = await ws.cryptoApi.createEddsaKeypair(); const wireSalt = encodeCrock(getRandomBytes(16)); const wireHash = hashWire(req.depositPaytoUri, wireSalt); - const wireHashLegacy = hashWireLegacy(req.depositPaytoUri, wireSalt); const contractTerms: ContractTerms = { auditors: [], exchanges: exchangeInfos, @@ -460,7 +458,6 @@ export async function createDepositGroup( // This is always the v2 wire hash, as we're the "merchant" and support v2. h_wire: wireHash, // Required for older exchanges. - h_wire_legacy: wireHashLegacy, pay_deadline: timestampAddDuration( timestampRound, durationFromSpec({ hours: 1 }), |