aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/operations/transactions.ts4
-rw-r--r--packages/taler-wallet-core/src/pending-types.ts2
-rw-r--r--packages/taler-wallet-core/src/util/retries.ts8
3 files changed, 10 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts
index 80dc50eb8..a702fab2f 100644
--- a/packages/taler-wallet-core/src/operations/transactions.ts
+++ b/packages/taler-wallet-core/src/operations/transactions.ts
@@ -1227,6 +1227,8 @@ export async function abortTransaction(
await abortPay(ws, proposalId, forceImmediateAbort);
} else {
const unknownTxType: any = type;
- throw Error(`can't abort a '${unknownTxType}' transaction`);
+ throw Error(
+ `can't abort a '${unknownTxType}' transaction: not yet implemented`,
+ );
}
}
diff --git a/packages/taler-wallet-core/src/pending-types.ts b/packages/taler-wallet-core/src/pending-types.ts
index 65657f471..809fa52d4 100644
--- a/packages/taler-wallet-core/src/pending-types.ts
+++ b/packages/taler-wallet-core/src/pending-types.ts
@@ -38,7 +38,7 @@ export enum PendingTaskType {
Deposit = "deposit",
Backup = "backup",
PeerPushInitiation = "peer-push-initiation",
- PeerPullInitiation = "peer-pull\-initiation",
+ PeerPullInitiation = "peer-pull-initiation",
}
/**
diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts
index d72d3adaa..851824866 100644
--- a/packages/taler-wallet-core/src/util/retries.ts
+++ b/packages/taler-wallet-core/src/util/retries.ts
@@ -215,10 +215,14 @@ export namespace RetryTags {
export function byPaymentProposalId(proposalId: string): string {
return `${PendingTaskType.Purchase}:${proposalId}`;
}
- export function byPeerPushPaymentInitiationPursePub(pursePub: string): string {
+ export function byPeerPushPaymentInitiationPursePub(
+ pursePub: string,
+ ): string {
return `${PendingTaskType.PeerPushInitiation}:${pursePub}`;
}
- export function byPeerPullPaymentInitiationPursePub(pursePub: string): string {
+ export function byPeerPullPaymentInitiationPursePub(
+ pursePub: string,
+ ): string {
return `${PendingTaskType.PeerPullInitiation}:${pursePub}`;
}
}