Skip to content

Commit

Permalink
fix(cardano-services-client): txSubmitApiProvider now computes the tx…
Browse files Browse the repository at this point in the history
… id correctly
  • Loading branch information
AngelCastilloB committed Oct 31, 2024
1 parent 6e0bb42 commit 09b6b69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TxSubmitApiProvider implements TxSubmitProvider {
let txId: Cardano.TransactionId | undefined;

try {
txId = Serialization.TransactionBody.fromCbor(signedTransaction).hash();
txId = Serialization.Transaction.fromCbor(signedTransaction).getId();

this.#logger.debug(`Submitting tx ${txId} ...`);

Expand Down

0 comments on commit 09b6b69

Please sign in to comment.