aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/integrationtests/test-peer-repair.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-06-20 16:07:15 +0200
committerFlorian Dold <florian@dold.me>2023-06-20 16:07:20 +0200
commite5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 (patch)
tree472ddac0bbcf0b80a682672462870de613e8b3c8 /packages/taler-harness/src/integrationtests/test-peer-repair.ts
parenta86c948fc9e44e3503cd19776c3eb6410ea3d674 (diff)
downloadwallet-core-e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4.tar.xz
wallet-core: remove redundant/unused notifications
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-peer-repair.ts')
-rw-r--r--packages/taler-harness/src/integrationtests/test-peer-repair.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-repair.ts b/packages/taler-harness/src/integrationtests/test-peer-repair.ts
index 77e47b01e..cfa7ec877 100644
--- a/packages/taler-harness/src/integrationtests/test-peer-repair.ts
+++ b/packages/taler-harness/src/integrationtests/test-peer-repair.ts
@@ -61,7 +61,9 @@ export async function runPeerRepairTest(t: GlobalTestState) {
const wallet2 = w2.walletClient;
const withdrawalDoneCond = wallet1.waitForNotificationCond(
- (x) => x.type === NotificationType.WithdrawGroupFinished,
+ (x) => x.type === NotificationType.TransactionStateTransition &&
+ x.newTxState.major === TransactionMajorState.Done &&
+ x.transactionId.startsWith("txn:withdrawal:"),
);
await withdrawViaBankV2(t, {