Skip to content

Commit

Permalink
tests(integration): change tx version
Browse files Browse the repository at this point in the history
  • Loading branch information
r4mmer committed Jan 8, 2025
1 parent 1d8cb3f commit b2cd834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/integration/hathorwallet_facade.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('template methods', () => {
.build();

const tx = await hWallet.buildTxTemplate(template, DEFAULT_PIN_CODE);
expect(tx.version).toEqual(3); // Create token transaction
expect(tx.version).toEqual(2); // Create token transaction
expect(tx.inputs).toHaveLength(1);
expect(tx.inputs[0].data).not.toBeFalsy(); // Tx is signed
// Transaction is not mined yet
Expand All @@ -82,7 +82,7 @@ describe('template methods', () => {
.build();

const tx = await hWallet.runTxTemplate(template, DEFAULT_PIN_CODE);
expect(tx.version).toEqual(3); // Create token transaction
expect(tx.version).toEqual(2); // Create token transaction
expect(tx.inputs).toHaveLength(1);
expect(tx.inputs[0].data).not.toBeFalsy(); // Tx is signed
// Transaction is mined and pushed
Expand Down

0 comments on commit b2cd834

Please sign in to comment.