From b2cd834c6f5c08b07f5961f0c4468c522bf28e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Carneiro?= Date: Wed, 8 Jan 2025 10:06:33 -0500 Subject: [PATCH] tests(integration): change tx version --- __tests__/integration/hathorwallet_facade.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/integration/hathorwallet_facade.test.ts b/__tests__/integration/hathorwallet_facade.test.ts index 8b0600fa..1d6b3f46 100644 --- a/__tests__/integration/hathorwallet_facade.test.ts +++ b/__tests__/integration/hathorwallet_facade.test.ts @@ -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 @@ -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