Skip to content

Commit

Permalink
refactor: make signInteraction method asynchronous
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvalabs-harshrastogi committed Sep 24, 2024
1 parent 31511b3 commit cb99c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/js-moi-wallet/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe("Wallet", () => {
};

const algo = wallet.signingAlgorithms["ecdsa_secp256k1"];
const ixArgs = wallet.signInteraction(ixObject, algo);
const ixArgs = await wallet.signInteraction(ixObject, algo);

expect(ixArgs).toBeDefined();
expect(ixArgs).toMatchObject<InteractionRequest>({
Expand Down

0 comments on commit cb99c9c

Please sign in to comment.