diff options
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 9df279897..ff72f3c75 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -52,7 +52,7 @@ import { ReserveRecordStatus, CoinSourceType, } from "./types/dbTypes"; -import { MerchantRefundDetails, CoinDumpJson } from "./types/talerTypes"; +import { CoinDumpJson } from "./types/talerTypes"; import { BenchmarkResult, ConfirmPayResult, @@ -106,11 +106,7 @@ import { } from "./types/pending"; import { WalletNotification, NotificationType } from "./types/notifications"; import { HistoryQuery, HistoryEvent } from "./types/history"; -import { - processPurchaseQueryRefund, - getFullRefundFees, - applyRefund, -} from "./operations/refund"; +import { processPurchaseQueryRefund, applyRefund } from "./operations/refund"; import { durationMin, Duration } from "./util/time"; import { processRecoupGroup } from "./operations/recoup"; import { OperationFailedAndReportedError } from "./operations/errors"; @@ -372,12 +368,12 @@ export class Wallet { type: NotificationType.InternalError, message: "uncaught exception", exception: e, - }); + }); } } this.ws.notify({ type: NotificationType.PendingOperationProcessed, - }); + }); } } } @@ -712,12 +708,6 @@ export class Wallet { return this.db.get(Stores.purchases, contractTermsHash); } - async getFullRefundFees( - refundPermissions: MerchantRefundDetails[], - ): Promise<AmountJson> { - return getFullRefundFees(this.ws, refundPermissions); - } - async acceptTip(talerTipUri: string): Promise<void> { try { return acceptTip(this.ws, talerTipUri); |