diff --git a/examples/integration-scripts/multisig-vlei-issuance.test.ts b/examples/integration-scripts/multisig-vlei-issuance.test.ts index f6a7b06a..930d95ff 100644 --- a/examples/integration-scripts/multisig-vlei-issuance.test.ts +++ b/examples/integration-scripts/multisig-vlei-issuance.test.ts @@ -1261,9 +1261,10 @@ async function getOrCreateAID( await waitOperation(client, await result.op()); aid = await client.identifiers().get(name); - await client + const op = await client .identifiers() .addEndRole(name, 'agent', client!.agent!.pre); + await waitOperation(client, await op.op()); console.log(name, 'AID:', aid.prefix); } return aid;