summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/state.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-wallet-core/src/operations/state.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/state.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/state.ts b/packages/taler-wallet-core/src/operations/state.ts
index 131e9083d..c4d5b38f1 100644
--- a/packages/taler-wallet-core/src/operations/state.ts
+++ b/packages/taler-wallet-core/src/operations/state.ts
@@ -82,7 +82,7 @@ export class InternalWalletState {
*/
async runSequentialized<T>(tokens: string[], f: () => Promise<T>) {
// Make sure locks are always acquired in the same order
- tokens = [... tokens].sort();
+ tokens = [...tokens].sort();
for (const token of tokens) {
if (this.resourceLocks.has(token)) {