Skip to content

Commit

Permalink
Fixed transaction test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmyshchyshyn committed Nov 15, 2024
1 parent 35daf5c commit 9519dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Transaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')!
Expand Down

0 comments on commit 9519dce

Please sign in to comment.