Skip to content

Commit

Permalink
Improves variable check
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
  • Loading branch information
konstantinabl committed Apr 26, 2024
1 parent cf60f06 commit e9e5a89
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/relay/tests/lib/precheck.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,11 @@ describe('Precheck', async function () {
});

describe('account', async function () {
let parsedTx: Transaction, mirrorAccount: any, defaultNonce: number;
let parsedTx: Transaction;
let mirrorAccount: any;
const defaultNonce: number = 3;

before(async () => {
defaultNonce = 3;
const wallet = ethers.Wallet.createRandom();
const signed = await wallet.signTransaction({ ...defaultTx, from: wallet.address, nonce: defaultNonce });
parsedTx = ethers.Transaction.from(signed);
Expand Down

0 comments on commit e9e5a89

Please sign in to comment.