diff options
author | Florian Dold <florian@dold.me> | 2021-04-07 19:29:51 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-04-07 19:29:51 +0200 |
commit | 4fa88007f958796d7fe65d0fe4f6f45fcf953887 (patch) | |
tree | 4f6e5798cc74b19b6eda13dfcd5daa855a5c8c9a /packages/taler-wallet-core/src/util/coinSelection.ts | |
parent | 29d710c392c2b28e8c8c2a177c8de40061a58e77 (diff) | |
download | wallet-core-4fa88007f958796d7fe65d0fe4f6f45fcf953887.tar.gz wallet-core-4fa88007f958796d7fe65d0fe4f6f45fcf953887.tar.bz2 wallet-core-4fa88007f958796d7fe65d0fe4f6f45fcf953887.zip |
get coin re-selection after accidental double spending to work
Diffstat (limited to 'packages/taler-wallet-core/src/util/coinSelection.ts')
-rw-r--r-- | packages/taler-wallet-core/src/util/coinSelection.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/util/coinSelection.ts b/packages/taler-wallet-core/src/util/coinSelection.ts index e1fec5c97..c5a75878f 100644 --- a/packages/taler-wallet-core/src/util/coinSelection.ts +++ b/packages/taler-wallet-core/src/util/coinSelection.ts @@ -24,7 +24,7 @@ * Imports. */ import { AmountJson, AmountLike, Amounts } from "@gnu-taler/taler-util"; -import { strcmp } from "./helpers.js"; +import { strcmp } from "@gnu-taler/taler-util"; import { Logger } from "./logging.js"; const logger = new Logger("coinSelection.ts"); @@ -89,7 +89,7 @@ export interface AvailableCoinInfo { exchangeBaseUrl: string; } -type PreviousPayCoins = { +export type PreviousPayCoins = { coinPub: string; contribution: AmountJson; feeDeposit: AmountJson; |