Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: getSequenceNumber returns undefined if an account is not exists …
…on the chain, BigInt do not accept undefined as parameter
  • Loading branch information
wk3368 committed Mar 25, 2022
1 parent e3fae20 commit 8782e3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/multi-sign.spec.ts
Expand Up @@ -169,7 +169,8 @@ test('first multi sign', async () => {
const provider = new JsonRpcProvider(nodeUrl);
const senderSequenceNumber = await provider.getSequenceNumber(
senderAddress
);
) || 0;

const maxGasAmount = 10000000n;
const gasUnitPrice = 1;
const nowSeconds = await provider.getNowSeconds();
Expand Down

0 comments on commit 8782e3c

Please sign in to comment.