Skip to content

Commit

Permalink
uses KeyStates.query with seal
Browse files Browse the repository at this point in the history
  • Loading branch information
psteniusubi committed Jan 20, 2024
1 parent 2b76eff commit 11bf30b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/integration-scripts/singlesig-dip.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('singlesig-dip', () => {
result = await client1.identifiers().interact('name1', seal);
let op1 = await result.op();

// refresh keystate to sn=1
let op2 = await client2.keyStates().query(name1_id, '1');

await Promise.all([
Expand Down Expand Up @@ -74,7 +75,8 @@ describe('singlesig-dip', () => {
result = await client1.identifiers().interact('name1', seal);
op1 = await result.op();

op2 = await client2.keyStates().query(name1_id, '2');
// refresh keystate to seal event
op2 = await client2.keyStates().query(name1_id, undefined, seal);

await Promise.all([
(op = await waitOperation(client2, op)),
Expand Down

0 comments on commit 11bf30b

Please sign in to comment.