diff options
| author | Florian Dold <florian.dold@gmail.com> | 2019-09-06 09:48:00 +0200 |
|---|---|---|
| committer | Florian Dold <florian.dold@gmail.com> | 2019-09-06 09:48:00 +0200 |
| commit | 9297bbc8253650a2530afc3fd88c9bd102de0793 (patch) | |
| tree | dca184dbb9f984771042c7524a0b5e35c934a53b /src/webex/wxApi.ts | |
| parent | 51aa6d81464afe92e60f13281d4fda3bb54c45ba (diff) | |
fold checkPay into preparePay
Diffstat (limited to 'src/webex/wxApi.ts')
| -rw-r--r-- | src/webex/wxApi.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index 61dc2ca69..65c14ac48 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -29,13 +29,10 @@ import { DenominationRecord, ExchangeRecord, PreCoinRecord, - ProposalDownloadRecord, - PurchaseRecord, ReserveRecord, } from "../dbTypes"; import { BenchmarkResult, - CheckPayResult, ConfirmPayResult, ReserveCreationInfo, SenderWireInfos, @@ -45,10 +42,6 @@ import { WalletDiagnostics, } from "../walletTypes"; -import { - MerchantRefundPermission, -} from "../talerTypes"; - import { MessageMap, MessageType } from "./messages"; @@ -218,13 +211,6 @@ export function payback(coinPub: string): Promise<void> { } /** - * Check if payment is possible or already done. - */ -export function checkPay(proposalId: number): Promise<CheckPayResult> { - return callBackend("check-pay", { proposalId }); -} - -/** * Pay for a proposal. */ export function confirmPay(proposalId: number, sessionId: string | undefined): Promise<ConfirmPayResult> { |
