aboutsummaryrefslogtreecommitdiff
path: root/src/types/pending.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/pending.ts')
-rw-r--r--src/types/pending.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types/pending.ts b/src/types/pending.ts
index 15299dec4..b6b0849ac 100644
--- a/src/types/pending.ts
+++ b/src/types/pending.ts
@@ -60,6 +60,9 @@ export type PendingOperationInfo = PendingOperationInfoCommon &
| PendingWithdrawOperation
);
+/**
+ * The wallet is currently updating information about an exchange.
+ */
export interface PendingExchangeUpdateOperation {
type: PendingOperationType.ExchangeUpdate;
stage: string;
@@ -68,6 +71,11 @@ export interface PendingExchangeUpdateOperation {
lastError: OperationError | undefined;
}
+/**
+ * Some interal error happened in the wallet. This pending operation
+ * should *only* be reported for problems in the wallet, not when
+ * a problem with a merchant/exchange/etc. occurs.
+ */
export interface PendingBugOperation {
type: PendingOperationType.Bug;
message: string;