diff options
author | Florian Dold <florian@dold.me> | 2022-10-08 20:56:57 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-08 23:07:07 +0200 |
commit | 526f4eba9554f27e33afb0e02d19d870825b038c (patch) | |
tree | c35e41a20a3bc90da3beb81fa7831505ee64cfee /packages/taler-wallet-core/src/operations/withdraw.ts | |
parent | eace0e0e7aad9113af758b829fffd873826e36e3 (diff) | |
download | wallet-core-526f4eba9554f27e33afb0e02d19d870825b038c.tar.xz |
wallet-core: Clean up merchant payments DB schema
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index fb5e2c70a..3c2541e9a 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -70,12 +70,11 @@ import { DenomSelectionState, ExchangeDetailsRecord, ExchangeRecord, - OperationStatus, PlanchetRecord, - WithdrawalGroupStatus, WalletStoresV1, WgInfo, WithdrawalGroupRecord, + WithdrawalGroupStatus, WithdrawalRecordType, } from "../db.js"; import { @@ -84,7 +83,10 @@ import { TalerError, } from "../errors.js"; import { InternalWalletState } from "../internal-wallet-state.js"; -import { assertUnreachable } from "../util/assertUnreachable.js"; +import { + makeCoinAvailable, + runOperationWithErrorReporting, +} from "../operations/common.js"; import { walletCoreDebugFlags } from "../util/debugFlags.js"; import { HttpRequestLibrary, @@ -108,18 +110,16 @@ import { WALLET_EXCHANGE_PROTOCOL_VERSION, } from "../versions.js"; import { - makeCoinAvailable, - runOperationWithErrorReporting, + makeEventId, storeOperationError, storeOperationPending, -} from "../wallet.js"; +} from "./common.js"; import { getExchangeDetails, getExchangePaytoUri, getExchangeTrust, updateExchangeFromUrl, } from "./exchanges.js"; -import { makeEventId } from "./transactions.js"; /** * Logger for this file. |