From 9519dce9dbef46c1cf5036a8853ce9c79ba1d513 Mon Sep 17 00:00:00 2001 From: Oleksandr Myshchyshyn Date: Fri, 15 Nov 2024 18:43:02 +0200 Subject: [PATCH] Fixed transaction test --- src/types/Transaction.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/Transaction.test.ts b/src/types/Transaction.test.ts index a68036a44..de5e2c1c8 100644 --- a/src/types/Transaction.test.ts +++ b/src/types/Transaction.test.ts @@ -73,7 +73,7 @@ describe('Test Transaction', () => { await transaction.sign(keys); const toJson = TransactionV1.toJson(transaction); - const parsed = TransactionV1.fromJSON(toJson.transaction); + const parsed = TransactionV1.fromJSON(toJson); const transactionPaymentAmount = parsed.body.args.args .get('amount')!