Skip to content

Commit

Permalink
Merge pull request #1520 from input-output-hk/fix/lw-11780-fix-tx-id-…
Browse files Browse the repository at this point in the history
…computation

fix(cardano-services-client): txSubmitApiProvider now computes the tx id correctly
  • Loading branch information
AngelCastilloB authored Oct 31, 2024
2 parents 6e0bb42 + 09b6b69 commit b06f329
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 b06f329

Please sign in to comment.