aboutsummaryrefslogtreecommitdiff
path: root/src/wallet-impl/tip.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-06 02:52:16 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-06 02:52:16 +0100
commit4159367d8c04b96a05da8a5ded043f8296a83174 (patch)
tree5587538fb13aead06d639a03e96cc09adcd99dd7 /src/wallet-impl/tip.ts
parentd8170c815913b4395febc4ce3402fe45ba0d2e87 (diff)
downloadwallet-core-4159367d8c04b96a05da8a5ded043f8296a83174.tar.xz
pending ops / history / notification tweaks
Diffstat (limited to 'src/wallet-impl/tip.ts')
-rw-r--r--src/wallet-impl/tip.ts3
1 files changed, 2 insertions, 1 deletions
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(