From 4159367d8c04b96a05da8a5ded043f8296a83174 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 6 Dec 2019 02:52:16 +0100 Subject: pending ops / history / notification tweaks --- src/wallet-impl/tip.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/wallet-impl/tip.ts') diff --git a/src/wallet-impl/tip.ts b/src/wallet-impl/tip.ts index 3ae931d45..9cfaed930 100644 --- a/src/wallet-impl/tip.ts +++ b/src/wallet-impl/tip.ts @@ -18,7 +18,7 @@ import { oneShotGet, oneShotPut, oneShotMutate, runWithWriteTransaction } from "../util/query"; import { InternalWalletState } from "./state"; import { parseTipUri } from "../util/taleruri"; -import { TipStatus, getTimestampNow, OperationError } from "../walletTypes"; +import { TipStatus, getTimestampNow, OperationError, NotificationType } from "../walletTypes"; import { TipPickupGetResponse, TipPlanchetDetail, TipResponse } from "../talerTypes"; import * as Amounts from "../util/amounts"; import { Stores, PlanchetRecord, WithdrawalSessionRecord, initRetryInfo, updateRetryInfoTimeout } from "../dbTypes"; @@ -122,6 +122,7 @@ async function incrementTipRetry( t.lastError = err; await tx.put(Stores.tips, t); }); + ws.notify({ type: NotificationType.TipOperationError }); } export async function processTip( -- cgit v1.2.3