diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-22 12:22:57 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-22 12:22:57 +0100 |
commit | 14103aa0750fd2874480a564b2f0be0932c13e21 (patch) | |
tree | b88cda4f36bdd563849aacafc220b794afce64f7 /src/types/pending.ts | |
parent | 21194fa78137ca0a60487968e32ee9c3941ad812 (diff) | |
download | wallet-core-14103aa0750fd2874480a564b2f0be0932c13e21.tar.xz |
make verbose details an option
Diffstat (limited to 'src/types/pending.ts')
-rw-r--r-- | src/types/pending.ts | 8 |
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; |