diff options
author | Florian Dold <florian@dold.me> | 2023-06-20 16:07:15 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-20 16:07:20 +0200 |
commit | e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4 (patch) | |
tree | 472ddac0bbcf0b80a682672462870de613e8b3c8 /packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts | |
parent | a86c948fc9e44e3503cd19776c3eb6410ea3d674 (diff) | |
download | wallet-core-e5a8ae7d60c9fc9d6740ef391ac34f2ac620b0f4.tar.xz |
wallet-core: remove redundant/unused notifications
Diffstat (limited to 'packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts')
-rw-r--r-- | packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts b/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts index aed3fe8db..30287b51b 100644 --- a/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts +++ b/packages/taler-harness/src/integrationtests/test-peer-to-peer-pull.ts @@ -61,18 +61,14 @@ export async function runPeerToPeerPullTest(t: GlobalTestState) { const wallet1 = w1.walletClient; const wallet2 = w2.walletClient; - const withdrawalDoneCond = wallet2.waitForNotificationCond( - (x) => x.type === NotificationType.WithdrawGroupFinished, - ); - - await withdrawViaBankV2(t, { + const withdrawRes = await withdrawViaBankV2(t, { walletClient: wallet2, bank, exchange, amount: "TESTKUDOS:20", }); - await withdrawalDoneCond; + await withdrawRes.withdrawalFinishedCond; const purse_expiration = AbsoluteTime.toProtocolTimestamp( AbsoluteTime.addDuration( |